@Generated(value="software.amazon.awssdk:codegen") public final class ETag extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ETag.Builder,ETag>
The entity tag (ETag) is a hash of the object representing its semantic content.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ETag.Builder |
| Modifier and Type | Method and Description |
|---|---|
ETagAlgorithm |
algorithm()
The algorithm used to calculate the read set’s ETag(s).
|
String |
algorithmAsString()
The algorithm used to calculate the read set’s ETag(s).
|
static ETag.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ETag.Builder> |
serializableBuilderClass() |
String |
source1()
The ETag hash calculated on Source1 of the read set.
|
String |
source2()
The ETag hash calculated on Source2 of the read set.
|
ETag.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ETagAlgorithm algorithm()
The algorithm used to calculate the read set’s ETag(s).
If the service returns an enum value that is not available in the current SDK version, algorithm will
return ETagAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
algorithmAsString().
ETagAlgorithmpublic final String algorithmAsString()
The algorithm used to calculate the read set’s ETag(s).
If the service returns an enum value that is not available in the current SDK version, algorithm will
return ETagAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
algorithmAsString().
ETagAlgorithmpublic final String source1()
The ETag hash calculated on Source1 of the read set.
public final String source2()
The ETag hash calculated on Source2 of the read set.
public ETag.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ETag.Builder,ETag>public static ETag.Builder builder()
public static Class<? extends ETag.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.