@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()
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)
The
ObjectIdentifier of the object attached to the index. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
IndexAttachment |
withIndexedAttributes(AttributeKeyAndValue... indexedAttributes)
The indexed attribute values.
|
IndexAttachment |
withIndexedAttributes(Collection<AttributeKeyAndValue> indexedAttributes)
The indexed attribute values.
|
IndexAttachment |
withObjectIdentifier(String objectIdentifier)
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)
The ObjectIdentifier
of the object attached to the index.
objectIdentifier
- The ObjectIdentifier
of the object attached to the index.public String getObjectIdentifier()
The ObjectIdentifier
of the object attached to the index.
ObjectIdentifier
of the object attached to the index.public IndexAttachment withObjectIdentifier(String objectIdentifier)
The ObjectIdentifier
of the object attached to the index.
objectIdentifier
- The ObjectIdentifier
of the object attached to the index.public String toString()
toString
in class Object
Object.toString()
public IndexAttachment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.