@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CommitDiffSourceCodeType extends Object implements Serializable, Cloneable, StructuredPojo
A type of
SourceCodeType that specifies the commit diff for a pull request on an associated repository.
| Constructor and Description |
|---|
CommitDiffSourceCodeType() |
| Modifier and Type | Method and Description |
|---|---|
CommitDiffSourceCodeType |
clone() |
boolean |
equals(Object obj) |
String |
getDestinationCommit()
The SHA of the destination commit used to generate a commit diff.
|
String |
getSourceCommit()
The SHA of the source commit used to generate a commit diff.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDestinationCommit(String destinationCommit)
The SHA of the destination commit used to generate a commit diff.
|
void |
setSourceCommit(String sourceCommit)
The SHA of the source commit used to generate a commit diff.
|
String |
toString()
Returns a string representation of this object.
|
CommitDiffSourceCodeType |
withDestinationCommit(String destinationCommit)
The SHA of the destination commit used to generate a commit diff.
|
CommitDiffSourceCodeType |
withSourceCommit(String sourceCommit)
The SHA of the source commit used to generate a commit diff.
|
public void setSourceCommit(String sourceCommit)
The SHA of the source commit used to generate a commit diff.
sourceCommit - The SHA of the source commit used to generate a commit diff.public String getSourceCommit()
The SHA of the source commit used to generate a commit diff.
public CommitDiffSourceCodeType withSourceCommit(String sourceCommit)
The SHA of the source commit used to generate a commit diff.
sourceCommit - The SHA of the source commit used to generate a commit diff.public void setDestinationCommit(String destinationCommit)
The SHA of the destination commit used to generate a commit diff.
destinationCommit - The SHA of the destination commit used to generate a commit diff.public String getDestinationCommit()
The SHA of the destination commit used to generate a commit diff.
public CommitDiffSourceCodeType withDestinationCommit(String destinationCommit)
The SHA of the destination commit used to generate a commit diff.
destinationCommit - The SHA of the destination commit used to generate a commit diff.public String toString()
toString in class ObjectObject.toString()public CommitDiffSourceCodeType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.