@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<Index> |
getIndices()
An array of information on the items in one or more indexes.
|
String |
getNextToken()
If the response is truncated, Amazon Q Business returns this token that you can use in the subsequent request to
retrieve the next set of indexes.
|
int |
hashCode() |
void |
setIndices(Collection<Index> indices)
An array of information on the items in one or more indexes.
|
void |
setNextToken(String nextToken)
If the response is truncated, Amazon Q Business returns this token that you can use in the subsequent request to
retrieve the next set of indexes.
|
String |
toString()
Returns a string representation of this object.
|
ListIndicesResult |
withIndices(Collection<Index> indices)
An array of information on the items in one or more indexes.
|
ListIndicesResult |
withIndices(Index... indices)
An array of information on the items in one or more indexes.
|
ListIndicesResult |
withNextToken(String nextToken)
If the response is truncated, Amazon Q Business returns this token that you can use in the subsequent request to
retrieve the next set of indexes.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
If the response is truncated, Amazon Q Business returns this token that you can use in the subsequent request to retrieve the next set of indexes.
nextToken
- If the response is truncated, Amazon Q Business returns this token that you can use in the subsequent
request to retrieve the next set of indexes.public String getNextToken()
If the response is truncated, Amazon Q Business returns this token that you can use in the subsequent request to retrieve the next set of indexes.
public ListIndicesResult withNextToken(String nextToken)
If the response is truncated, Amazon Q Business returns this token that you can use in the subsequent request to retrieve the next set of indexes.
nextToken
- If the response is truncated, Amazon Q Business returns this token that you can use in the subsequent
request to retrieve the next set of indexes.public List<Index> getIndices()
An array of information on the items in one or more indexes.
public void setIndices(Collection<Index> indices)
An array of information on the items in one or more indexes.
indices
- An array of information on the items in one or more indexes.public ListIndicesResult withIndices(Index... indices)
An array of information on the items in one or more indexes.
NOTE: This method appends the values to the existing list (if any). Use
setIndices(java.util.Collection)
or withIndices(java.util.Collection)
if you want to override
the existing values.
indices
- An array of information on the items in one or more indexes.public ListIndicesResult withIndices(Collection<Index> indices)
An array of information on the items in one or more indexes.
indices
- An array of information on the items in one or more indexes.public String toString()
toString
in class Object
Object.toString()
public ListIndicesResult clone()