public class ListVocabulariesRequest extends AmazonWebServiceRequest implements java.io.Serializable
Returns a list of vocabularies that match the specified criteria. If no criteria are specified, returns the entire list of vocabularies.
| Constructor and Description |
|---|
ListVocabulariesRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getMaxResults()
The maximum number of vocabularies to return in the response.
|
java.lang.String |
getNameContains()
When specified, the vocabularies returned in the list are limited to
vocabularies whose name contains the specified string.
|
java.lang.String |
getNextToken()
If the result of the previous request to
ListVocabularies
was truncated, include the NextToken to fetch the next set
of jobs. |
java.lang.String |
getStateEquals()
When specified, only returns vocabularies with the
VocabularyState field equal to the specified state. |
int |
hashCode() |
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of vocabularies to return in the response.
|
void |
setNameContains(java.lang.String nameContains)
When specified, the vocabularies returned in the list are limited to
vocabularies whose name contains the specified string.
|
void |
setNextToken(java.lang.String nextToken)
If the result of the previous request to
ListVocabularies
was truncated, include the NextToken to fetch the next set
of jobs. |
void |
setStateEquals(java.lang.String stateEquals)
When specified, only returns vocabularies with the
VocabularyState field equal to the specified state. |
void |
setStateEquals(VocabularyState stateEquals)
When specified, only returns vocabularies with the
VocabularyState field equal to the specified state. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListVocabulariesRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of vocabularies to return in the response.
|
ListVocabulariesRequest |
withNameContains(java.lang.String nameContains)
When specified, the vocabularies returned in the list are limited to
vocabularies whose name contains the specified string.
|
ListVocabulariesRequest |
withNextToken(java.lang.String nextToken)
If the result of the previous request to
ListVocabularies
was truncated, include the NextToken to fetch the next set
of jobs. |
ListVocabulariesRequest |
withStateEquals(java.lang.String stateEquals)
When specified, only returns vocabularies with the
VocabularyState field equal to the specified state. |
ListVocabulariesRequest |
withStateEquals(VocabularyState stateEquals)
When specified, only returns vocabularies with the
VocabularyState field equal to the specified state. |
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getNextToken()
If the result of the previous request to ListVocabularies
was truncated, include the NextToken to fetch the next set
of jobs.
Constraints:
Length: - 8192
Pattern: .+
If the result of the previous request to
ListVocabularies was truncated, include the
NextToken to fetch the next set of jobs.
public void setNextToken(java.lang.String nextToken)
If the result of the previous request to ListVocabularies
was truncated, include the NextToken to fetch the next set
of jobs.
Constraints:
Length: - 8192
Pattern: .+
nextToken -
If the result of the previous request to
ListVocabularies was truncated, include the
NextToken to fetch the next set of jobs.
public ListVocabulariesRequest withNextToken(java.lang.String nextToken)
If the result of the previous request to ListVocabularies
was truncated, include the NextToken to fetch the next set
of jobs.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 8192
Pattern: .+
nextToken -
If the result of the previous request to
ListVocabularies was truncated, include the
NextToken to fetch the next set of jobs.
public java.lang.Integer getMaxResults()
The maximum number of vocabularies to return in the response. If there are fewer results in the list, this response contains only the actual results.
Constraints:
Range: 1 - 100
The maximum number of vocabularies to return in the response. If there are fewer results in the list, this response contains only the actual results.
public void setMaxResults(java.lang.Integer maxResults)
The maximum number of vocabularies to return in the response. If there are fewer results in the list, this response contains only the actual results.
Constraints:
Range: 1 - 100
maxResults - The maximum number of vocabularies to return in the response. If there are fewer results in the list, this response contains only the actual results.
public ListVocabulariesRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of vocabularies to return in the response. If there are fewer results in the list, this response contains only the actual results.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 100
maxResults - The maximum number of vocabularies to return in the response. If there are fewer results in the list, this response contains only the actual results.
public java.lang.String getStateEquals()
When specified, only returns vocabularies with the
VocabularyState field equal to the specified state.
Constraints:
Allowed Values: PENDING, READY, FAILED
When specified, only returns vocabularies with the
VocabularyState field equal to the specified state.
VocabularyStatepublic void setStateEquals(java.lang.String stateEquals)
When specified, only returns vocabularies with the
VocabularyState field equal to the specified state.
Constraints:
Allowed Values: PENDING, READY, FAILED
stateEquals -
When specified, only returns vocabularies with the
VocabularyState field equal to the specified
state.
VocabularyStatepublic ListVocabulariesRequest withStateEquals(java.lang.String stateEquals)
When specified, only returns vocabularies with the
VocabularyState field equal to the specified state.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PENDING, READY, FAILED
stateEquals -
When specified, only returns vocabularies with the
VocabularyState field equal to the specified
state.
VocabularyStatepublic void setStateEquals(VocabularyState stateEquals)
When specified, only returns vocabularies with the
VocabularyState field equal to the specified state.
Constraints:
Allowed Values: PENDING, READY, FAILED
stateEquals -
When specified, only returns vocabularies with the
VocabularyState field equal to the specified
state.
VocabularyStatepublic ListVocabulariesRequest withStateEquals(VocabularyState stateEquals)
When specified, only returns vocabularies with the
VocabularyState field equal to the specified state.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PENDING, READY, FAILED
stateEquals -
When specified, only returns vocabularies with the
VocabularyState field equal to the specified
state.
VocabularyStatepublic java.lang.String getNameContains()
When specified, the vocabularies returned in the list are limited to
vocabularies whose name contains the specified string. The search is not
case sensitive, ListVocabularies returns both
"vocabularyname" and "VocabularyName" in the response list.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
When specified, the vocabularies returned in the list are limited
to vocabularies whose name contains the specified string. The
search is not case sensitive, ListVocabularies
returns both "vocabularyname" and "VocabularyName" in the
response list.
public void setNameContains(java.lang.String nameContains)
When specified, the vocabularies returned in the list are limited to
vocabularies whose name contains the specified string. The search is not
case sensitive, ListVocabularies returns both
"vocabularyname" and "VocabularyName" in the response list.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
nameContains -
When specified, the vocabularies returned in the list are
limited to vocabularies whose name contains the specified
string. The search is not case sensitive,
ListVocabularies returns both "vocabularyname"
and "VocabularyName" in the response list.
public ListVocabulariesRequest withNameContains(java.lang.String nameContains)
When specified, the vocabularies returned in the list are limited to
vocabularies whose name contains the specified string. The search is not
case sensitive, ListVocabularies returns both
"vocabularyname" and "VocabularyName" in the response list.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
nameContains -
When specified, the vocabularies returned in the list are
limited to vocabularies whose name contains the specified
string. The search is not case sensitive,
ListVocabularies returns both "vocabularyname"
and "VocabularyName" in the response list.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.