@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListIndicesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListIndicesResult() |
Modifier and Type | Method and Description |
---|---|
ListIndicesResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getIndexNames()
The index names.
|
String |
getNextToken()
The token used to get the next set of results, or
null if there are no additional results. |
int |
hashCode() |
void |
setIndexNames(Collection<String> indexNames)
The index names.
|
void |
setNextToken(String nextToken)
The token used to get the next set of results, or
null if there are no additional results. |
String |
toString()
Returns a string representation of this object.
|
ListIndicesResult |
withIndexNames(Collection<String> indexNames)
The index names.
|
ListIndicesResult |
withIndexNames(String... indexNames)
The index names.
|
ListIndicesResult |
withNextToken(String nextToken)
The token used to get the next set of results, or
null if there are no additional results. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setIndexNames(Collection<String> indexNames)
The index names.
indexNames
- The index names.public ListIndicesResult withIndexNames(String... indexNames)
The index names.
NOTE: This method appends the values to the existing list (if any). Use
setIndexNames(java.util.Collection)
or withIndexNames(java.util.Collection)
if you want to
override the existing values.
indexNames
- The index names.public ListIndicesResult withIndexNames(Collection<String> indexNames)
The index names.
indexNames
- The index names.public void setNextToken(String nextToken)
The token used to get the next set of results, or null
if there are no additional results.
nextToken
- The token used to get the next set of results, or null
if there are no additional results.public String getNextToken()
The token used to get the next set of results, or null
if there are no additional results.
null
if there are no additional results.public ListIndicesResult withNextToken(String nextToken)
The token used to get the next set of results, or null
if there are no additional results.
nextToken
- The token used to get the next set of results, or null
if there are no additional results.public String toString()
toString
in class Object
Object.toString()
public ListIndicesResult clone()