public class ListLexiconsResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ListLexiconsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<LexiconDescription> |
getLexicons()
A list of lexicon names and attributes.
|
java.lang.String |
getNextToken()
The pagination token to use in the next request to continue the listing
of lexicons.
|
int |
hashCode() |
void |
setLexicons(java.util.Collection<LexiconDescription> lexicons)
A list of lexicon names and attributes.
|
void |
setNextToken(java.lang.String nextToken)
The pagination token to use in the next request to continue the listing
of lexicons.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListLexiconsResult |
withLexicons(java.util.Collection<LexiconDescription> lexicons)
A list of lexicon names and attributes.
|
ListLexiconsResult |
withLexicons(LexiconDescription... lexicons)
A list of lexicon names and attributes.
|
ListLexiconsResult |
withNextToken(java.lang.String nextToken)
The pagination token to use in the next request to continue the listing
of lexicons.
|
public java.util.List<LexiconDescription> getLexicons()
A list of lexicon names and attributes.
A list of lexicon names and attributes.
public void setLexicons(java.util.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.
Returns a reference to this object so that method calls can be chained together.
lexicons
- A list of lexicon names and attributes.
public ListLexiconsResult withLexicons(java.util.Collection<LexiconDescription> lexicons)
A list of lexicon names and attributes.
Returns a reference to this object so that method calls can be chained together.
lexicons
- A list of lexicon names and attributes.
public java.lang.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.
Constraints:
Length: 0 - 4096
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 void setNextToken(java.lang.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.
Constraints:
Length: 0 - 4096
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 ListLexiconsResult withNextToken(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 4096
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.