public class ListVocabulariesRequest extends AmazonWebServiceRequest implements 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(Object obj) |
Integer |
getMaxResults()
The maximum number of vocabularies to return in the response.
|
String |
getNameContains()
When specified, the vocabularies returned in the list are limited to
vocabularies whose name contains the specified string.
|
String |
getNextToken()
If the result of the previous request to
ListVocabularies
was truncated, include the NextToken to fetch the next set
of jobs. |
String |
getStateEquals()
When specified, only returns vocabularies with the
VocabularyState field equal to the specified state. |
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of vocabularies to return in the response.
|
void |
setNameContains(String nameContains)
When specified, the vocabularies returned in the list are limited to
vocabularies whose name contains the specified string.
|
void |
setNextToken(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(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. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListVocabulariesRequest |
withMaxResults(Integer maxResults)
The maximum number of vocabularies to return in the response.
|
ListVocabulariesRequest |
withNameContains(String nameContains)
When specified, the vocabularies returned in the list are limited to
vocabularies whose name contains the specified string.
|
ListVocabulariesRequest |
withNextToken(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(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, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic 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
If the result of the previous request to
ListVocabularies was truncated, include the
NextToken to fetch the next set of jobs.
public void setNextToken(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
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(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
nextToken -
If the result of the previous request to
ListVocabularies was truncated, include the
NextToken to fetch the next set of jobs.
public 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(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(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 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(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(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 String getNameContains()
When specified, the vocabularies returned in the list are limited to
vocabularies whose name contains the specified string. The search is
case-insensitive, ListVocabularies will return 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 case-insensitive, ListVocabularies will
return both "vocabularyname" and "VocabularyName" in the response
list.
public void setNameContains(String nameContains)
When specified, the vocabularies returned in the list are limited to
vocabularies whose name contains the specified string. The search is
case-insensitive, ListVocabularies will return 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 case-insensitive,
ListVocabularies will return both
"vocabularyname" and "VocabularyName" in the response list.
public ListVocabulariesRequest withNameContains(String nameContains)
When specified, the vocabularies returned in the list are limited to
vocabularies whose name contains the specified string. The search is
case-insensitive, ListVocabularies will return 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 case-insensitive,
ListVocabularies will return both
"vocabularyname" and "VocabularyName" in the response list.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.