@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SourceCodeType extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the source code that is analyzed in a code review. A code review can analyze the source code that is specified using a pull request diff or a branch in an associated repository.
Constructor and Description |
---|
SourceCodeType() |
Modifier and Type | Method and Description |
---|---|
SourceCodeType |
clone() |
boolean |
equals(Object obj) |
CommitDiffSourceCodeType |
getCommitDiff()
A
SourceCodeType that specifies a commit diff created by a pull request on an associated
repository. |
RepositoryHeadSourceCodeType |
getRepositoryHead() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCommitDiff(CommitDiffSourceCodeType commitDiff)
A
SourceCodeType that specifies a commit diff created by a pull request on an associated
repository. |
void |
setRepositoryHead(RepositoryHeadSourceCodeType repositoryHead) |
String |
toString()
Returns a string representation of this object.
|
SourceCodeType |
withCommitDiff(CommitDiffSourceCodeType commitDiff)
A
SourceCodeType that specifies a commit diff created by a pull request on an associated
repository. |
SourceCodeType |
withRepositoryHead(RepositoryHeadSourceCodeType repositoryHead) |
public void setCommitDiff(CommitDiffSourceCodeType commitDiff)
A
SourceCodeType
that specifies a commit diff created by a pull request on an associated
repository.
commitDiff
- A
SourceCodeType
that specifies a commit diff created by a pull request on an associated
repository.public CommitDiffSourceCodeType getCommitDiff()
A
SourceCodeType
that specifies a commit diff created by a pull request on an associated
repository.
SourceCodeType
that specifies a commit diff created by a pull request on an associated
repository.public SourceCodeType withCommitDiff(CommitDiffSourceCodeType commitDiff)
A
SourceCodeType
that specifies a commit diff created by a pull request on an associated
repository.
commitDiff
- A
SourceCodeType
that specifies a commit diff created by a pull request on an associated
repository.public void setRepositoryHead(RepositoryHeadSourceCodeType repositoryHead)
repositoryHead
- public RepositoryHeadSourceCodeType getRepositoryHead()
public SourceCodeType withRepositoryHead(RepositoryHeadSourceCodeType repositoryHead)
repositoryHead
- public String toString()
toString
in class Object
Object.toString()
public SourceCodeType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.