@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ETag extends Object implements Serializable, Cloneable, StructuredPojo
The entity tag (ETag) is a hash of the object representing its semantic content.
Constructor and Description |
---|
ETag() |
Modifier and Type | Method and Description |
---|---|
ETag |
clone() |
boolean |
equals(Object obj) |
String |
getAlgorithm()
The algorithm used to calculate the read set’s ETag(s).
|
String |
getSource1()
The ETag hash calculated on Source1 of the read set.
|
String |
getSource2()
The ETag hash calculated on Source2 of the read set.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlgorithm(String algorithm)
The algorithm used to calculate the read set’s ETag(s).
|
void |
setSource1(String source1)
The ETag hash calculated on Source1 of the read set.
|
void |
setSource2(String source2)
The ETag hash calculated on Source2 of the read set.
|
String |
toString()
Returns a string representation of this object.
|
ETag |
withAlgorithm(ETagAlgorithm algorithm)
The algorithm used to calculate the read set’s ETag(s).
|
ETag |
withAlgorithm(String algorithm)
The algorithm used to calculate the read set’s ETag(s).
|
ETag |
withSource1(String source1)
The ETag hash calculated on Source1 of the read set.
|
ETag |
withSource2(String source2)
The ETag hash calculated on Source2 of the read set.
|
public void setAlgorithm(String algorithm)
The algorithm used to calculate the read set’s ETag(s).
algorithm
- The algorithm used to calculate the read set’s ETag(s).ETagAlgorithm
public String getAlgorithm()
The algorithm used to calculate the read set’s ETag(s).
ETagAlgorithm
public ETag withAlgorithm(String algorithm)
The algorithm used to calculate the read set’s ETag(s).
algorithm
- The algorithm used to calculate the read set’s ETag(s).ETagAlgorithm
public ETag withAlgorithm(ETagAlgorithm algorithm)
The algorithm used to calculate the read set’s ETag(s).
algorithm
- The algorithm used to calculate the read set’s ETag(s).ETagAlgorithm
public void setSource1(String source1)
The ETag hash calculated on Source1 of the read set.
source1
- The ETag hash calculated on Source1 of the read set.public String getSource1()
The ETag hash calculated on Source1 of the read set.
public ETag withSource1(String source1)
The ETag hash calculated on Source1 of the read set.
source1
- The ETag hash calculated on Source1 of the read set.public void setSource2(String source2)
The ETag hash calculated on Source2 of the read set.
source2
- The ETag hash calculated on Source2 of the read set.public String getSource2()
The ETag hash calculated on Source2 of the read set.
public ETag withSource2(String source2)
The ETag hash calculated on Source2 of the read set.
source2
- The ETag hash calculated on Source2 of the read set.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.