@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Difference extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about a set of differences for a commit specifier.
| Constructor and Description |
|---|
Difference() |
| Modifier and Type | Method and Description |
|---|---|
Difference |
clone() |
boolean |
equals(Object obj) |
BlobMetadata |
getAfterBlob()
Information about an
afterBlob data type object, including the ID, the file mode permission code,
and the path. |
BlobMetadata |
getBeforeBlob()
Information about a
beforeBlob data type object, including the ID, the file mode permission code,
and the path. |
String |
getChangeType()
Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAfterBlob(BlobMetadata afterBlob)
Information about an
afterBlob data type object, including the ID, the file mode permission code,
and the path. |
void |
setBeforeBlob(BlobMetadata beforeBlob)
Information about a
beforeBlob data type object, including the ID, the file mode permission code,
and the path. |
void |
setChangeType(ChangeTypeEnum changeType)
Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
|
void |
setChangeType(String changeType)
Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Difference |
withAfterBlob(BlobMetadata afterBlob)
Information about an
afterBlob data type object, including the ID, the file mode permission code,
and the path. |
Difference |
withBeforeBlob(BlobMetadata beforeBlob)
Information about a
beforeBlob data type object, including the ID, the file mode permission code,
and the path. |
Difference |
withChangeType(ChangeTypeEnum changeType)
Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
|
Difference |
withChangeType(String changeType)
Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
|
public void setBeforeBlob(BlobMetadata beforeBlob)
Information about a beforeBlob data type object, including the ID, the file mode permission code,
and the path.
beforeBlob - Information about a beforeBlob data type object, including the ID, the file mode permission
code, and the path.public BlobMetadata getBeforeBlob()
Information about a beforeBlob data type object, including the ID, the file mode permission code,
and the path.
beforeBlob data type object, including the ID, the file mode permission
code, and the path.public Difference withBeforeBlob(BlobMetadata beforeBlob)
Information about a beforeBlob data type object, including the ID, the file mode permission code,
and the path.
beforeBlob - Information about a beforeBlob data type object, including the ID, the file mode permission
code, and the path.public void setAfterBlob(BlobMetadata afterBlob)
Information about an afterBlob data type object, including the ID, the file mode permission code,
and the path.
afterBlob - Information about an afterBlob data type object, including the ID, the file mode permission
code, and the path.public BlobMetadata getAfterBlob()
Information about an afterBlob data type object, including the ID, the file mode permission code,
and the path.
afterBlob data type object, including the ID, the file mode permission
code, and the path.public Difference withAfterBlob(BlobMetadata afterBlob)
Information about an afterBlob data type object, including the ID, the file mode permission code,
and the path.
afterBlob - Information about an afterBlob data type object, including the ID, the file mode permission
code, and the path.public void setChangeType(String changeType)
Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
changeType - Whether the change type of the difference is an addition (A), deletion (D), or modification (M).ChangeTypeEnumpublic String getChangeType()
Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
ChangeTypeEnumpublic Difference withChangeType(String changeType)
Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
changeType - Whether the change type of the difference is an addition (A), deletion (D), or modification (M).ChangeTypeEnumpublic void setChangeType(ChangeTypeEnum changeType)
Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
changeType - Whether the change type of the difference is an addition (A), deletion (D), or modification (M).ChangeTypeEnumpublic Difference withChangeType(ChangeTypeEnum changeType)
Whether the change type of the difference is an addition (A), deletion (D), or modification (M).
changeType - Whether the change type of the difference is an addition (A), deletion (D), or modification (M).ChangeTypeEnumpublic String toString()
toString in class ObjectObject.toString()public Difference clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.