@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BranchDiffSourceCodeType extends Object implements Serializable, Cloneable, StructuredPojo
A type of SourceCodeType that specifies a code diff between a source and destination branch in an associated repository.
Constructor and Description |
---|
BranchDiffSourceCodeType() |
Modifier and Type | Method and Description |
---|---|
BranchDiffSourceCodeType |
clone() |
boolean |
equals(Object obj) |
String |
getDestinationBranchName()
The destination branch for a diff in an associated repository.
|
String |
getSourceBranchName()
The source branch for a diff in an associated repository.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDestinationBranchName(String destinationBranchName)
The destination branch for a diff in an associated repository.
|
void |
setSourceBranchName(String sourceBranchName)
The source branch for a diff in an associated repository.
|
String |
toString()
Returns a string representation of this object.
|
BranchDiffSourceCodeType |
withDestinationBranchName(String destinationBranchName)
The destination branch for a diff in an associated repository.
|
BranchDiffSourceCodeType |
withSourceBranchName(String sourceBranchName)
The source branch for a diff in an associated repository.
|
public void setSourceBranchName(String sourceBranchName)
The source branch for a diff in an associated repository.
sourceBranchName
- The source branch for a diff in an associated repository.public String getSourceBranchName()
The source branch for a diff in an associated repository.
public BranchDiffSourceCodeType withSourceBranchName(String sourceBranchName)
The source branch for a diff in an associated repository.
sourceBranchName
- The source branch for a diff in an associated repository.public void setDestinationBranchName(String destinationBranchName)
The destination branch for a diff in an associated repository.
destinationBranchName
- The destination branch for a diff in an associated repository.public String getDestinationBranchName()
The destination branch for a diff in an associated repository.
public BranchDiffSourceCodeType withDestinationBranchName(String destinationBranchName)
The destination branch for a diff in an associated repository.
destinationBranchName
- The destination branch for a diff in an associated repository.public String toString()
toString
in class Object
Object.toString()
public BranchDiffSourceCodeType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.