@Generated(value="software.amazon.awssdk:codegen") public final class DocumentAttribute extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DocumentAttribute.Builder,DocumentAttribute>
A custom attribute value assigned to a document.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DocumentAttribute.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DocumentAttribute.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
The identifier for the attribute.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DocumentAttribute.Builder> |
serializableBuilderClass() |
DocumentAttribute.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
DocumentAttributeValue |
value()
The value of the attribute.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String key()
The identifier for the attribute.
public final DocumentAttributeValue value()
The value of the attribute.
public DocumentAttribute.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DocumentAttribute.Builder,DocumentAttribute>public static DocumentAttribute.Builder builder()
public static Class<? extends DocumentAttribute.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.