@Generated(value="software.amazon.awssdk:codegen") public final class IndexAttachment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IndexAttachment.Builder,IndexAttachment>
Represents an index and an attached object.
| Modifier and Type | Class and Description |
|---|---|
static interface |
IndexAttachment.Builder |
| Modifier and Type | Method and Description |
|---|---|
static IndexAttachment.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasIndexedAttributes()
Returns true if the IndexedAttributes property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<AttributeKeyAndValue> |
indexedAttributes()
The indexed attribute values.
|
String |
objectIdentifier()
In response to ListIndex, the
ObjectIdentifier of the object attached to the index. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends IndexAttachment.Builder> |
serializableBuilderClass() |
IndexAttachment.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasIndexedAttributes()
public final List<AttributeKeyAndValue> indexedAttributes()
The indexed attribute values.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasIndexedAttributes() to see if a value was sent in this field.
public final String objectIdentifier()
In response to ListIndex, the ObjectIdentifier of the object attached to the index. In
response to ListAttachedIndices, the ObjectIdentifier of the index attached to the object.
This field will always contain the ObjectIdentifier of the object on the opposite side of the
attachment specified in the query.
ObjectIdentifier of the object attached to the index.
In response to ListAttachedIndices, the ObjectIdentifier of the index attached to the
object. This field will always contain the ObjectIdentifier of the object on the opposite
side of the attachment specified in the query.public IndexAttachment.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<IndexAttachment.Builder,IndexAttachment>public static IndexAttachment.Builder builder()
public static Class<? extends IndexAttachment.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.