@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListIndexResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListIndexResult() |
Modifier and Type | Method and Description |
---|---|
ListIndexResult |
clone() |
boolean |
equals(Object obj) |
List<IndexAttachment> |
getIndexAttachments()
The objects and indexed values attached to the index.
|
String |
getNextToken()
The pagination token.
|
int |
hashCode() |
void |
setIndexAttachments(Collection<IndexAttachment> indexAttachments)
The objects and indexed values attached to the index.
|
void |
setNextToken(String nextToken)
The pagination token.
|
String |
toString()
Returns a string representation of this object.
|
ListIndexResult |
withIndexAttachments(Collection<IndexAttachment> indexAttachments)
The objects and indexed values attached to the index.
|
ListIndexResult |
withIndexAttachments(IndexAttachment... indexAttachments)
The objects and indexed values attached to the index.
|
ListIndexResult |
withNextToken(String nextToken)
The pagination token.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<IndexAttachment> getIndexAttachments()
The objects and indexed values attached to the index.
public void setIndexAttachments(Collection<IndexAttachment> indexAttachments)
The objects and indexed values attached to the index.
indexAttachments
- The objects and indexed values attached to the index.public ListIndexResult withIndexAttachments(IndexAttachment... indexAttachments)
The objects and indexed values attached to the index.
NOTE: This method appends the values to the existing list (if any). Use
setIndexAttachments(java.util.Collection)
or withIndexAttachments(java.util.Collection)
if you
want to override the existing values.
indexAttachments
- The objects and indexed values attached to the index.public ListIndexResult withIndexAttachments(Collection<IndexAttachment> indexAttachments)
The objects and indexed values attached to the index.
indexAttachments
- The objects and indexed values attached to the index.public void setNextToken(String nextToken)
The pagination token.
nextToken
- The pagination token.public String getNextToken()
The pagination token.
public ListIndexResult withNextToken(String nextToken)
The pagination token.
nextToken
- The pagination token.public String toString()
toString
in class Object
Object.toString()
public ListIndexResult clone()