@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListLexiconsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListLexiconsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListLexiconsResult |
clone() |
boolean |
equals(Object obj) |
List<LexiconDescription> |
getLexicons()
A list of lexicon names and attributes.
|
String |
getNextToken()
The pagination token to use in the next request to continue the listing of lexicons.
|
int |
hashCode() |
void |
setLexicons(Collection<LexiconDescription> lexicons)
A list of lexicon names and attributes.
|
void |
setNextToken(String nextToken)
The pagination token to use in the next request to continue the listing of lexicons.
|
String |
toString()
Returns a string representation of this object.
|
ListLexiconsResult |
withLexicons(Collection<LexiconDescription> lexicons)
A list of lexicon names and attributes.
|
ListLexiconsResult |
withLexicons(LexiconDescription... lexicons)
A list of lexicon names and attributes.
|
ListLexiconsResult |
withNextToken(String nextToken)
The pagination token to use in the next request to continue the listing of lexicons.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<LexiconDescription> getLexicons()
A list of lexicon names and attributes.
public void setLexicons(Collection<LexiconDescription> lexicons)
A list of lexicon names and attributes.
lexicons - A list of lexicon names and attributes.public ListLexiconsResult withLexicons(LexiconDescription... lexicons)
A list of lexicon names and attributes.
NOTE: This method appends the values to the existing list (if any). Use
setLexicons(java.util.Collection) or withLexicons(java.util.Collection) if you want to override
the existing values.
lexicons - A list of lexicon names and attributes.public ListLexiconsResult withLexicons(Collection<LexiconDescription> lexicons)
A list of lexicon names and attributes.
lexicons - A list of lexicon names and attributes.public void setNextToken(String nextToken)
The pagination token to use in the next request to continue the listing of lexicons. NextToken is
returned only if the response is truncated.
nextToken - The pagination token to use in the next request to continue the listing of lexicons.
NextToken is returned only if the response is truncated.public String getNextToken()
The pagination token to use in the next request to continue the listing of lexicons. NextToken is
returned only if the response is truncated.
NextToken is returned only if the response is truncated.public ListLexiconsResult withNextToken(String nextToken)
The pagination token to use in the next request to continue the listing of lexicons. NextToken is
returned only if the response is truncated.
nextToken - The pagination token to use in the next request to continue the listing of lexicons.
NextToken is returned only if the response is truncated.public String toString()
toString in class ObjectObject.toString()public ListLexiconsResult clone()