@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IndexAttachment extends Object implements Serializable, Cloneable, StructuredPojo
Represents an index and an attached object.
| Constructor and Description |
|---|
IndexAttachment() |
| Modifier and Type | Method and Description |
|---|---|
IndexAttachment |
clone() |
boolean |
equals(Object obj) |
List<AttributeKeyAndValue> |
getIndexedAttributes()
The indexed attribute values.
|
String |
getObjectIdentifier()
In response to ListIndex, the
ObjectIdentifier of the object attached to the index. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setIndexedAttributes(Collection<AttributeKeyAndValue> indexedAttributes)
The indexed attribute values.
|
void |
setObjectIdentifier(String objectIdentifier)
In response to ListIndex, the
ObjectIdentifier of the object attached to the index. |
String |
toString()
Returns a string representation of this object.
|
IndexAttachment |
withIndexedAttributes(AttributeKeyAndValue... indexedAttributes)
The indexed attribute values.
|
IndexAttachment |
withIndexedAttributes(Collection<AttributeKeyAndValue> indexedAttributes)
The indexed attribute values.
|
IndexAttachment |
withObjectIdentifier(String objectIdentifier)
In response to ListIndex, the
ObjectIdentifier of the object attached to the index. |
public List<AttributeKeyAndValue> getIndexedAttributes()
The indexed attribute values.
public void setIndexedAttributes(Collection<AttributeKeyAndValue> indexedAttributes)
The indexed attribute values.
indexedAttributes - The indexed attribute values.public IndexAttachment withIndexedAttributes(AttributeKeyAndValue... indexedAttributes)
The indexed attribute values.
NOTE: This method appends the values to the existing list (if any). Use
setIndexedAttributes(java.util.Collection) or withIndexedAttributes(java.util.Collection) if
you want to override the existing values.
indexedAttributes - The indexed attribute values.public IndexAttachment withIndexedAttributes(Collection<AttributeKeyAndValue> indexedAttributes)
The indexed attribute values.
indexedAttributes - The indexed attribute values.public void setObjectIdentifier(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 - 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.public String getObjectIdentifier()
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 withObjectIdentifier(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 - 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.public String toString()
toString in class ObjectObject.toString()public IndexAttachment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.