@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListThesauriResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListThesauriResult() |
Modifier and Type | Method and Description |
---|---|
ListThesauriResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to
retrieve the next set of thesauri.
|
List<ThesaurusSummary> |
getThesaurusSummaryItems()
An array of summary information for one or more thesauruses.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to
retrieve the next set of thesauri.
|
void |
setThesaurusSummaryItems(Collection<ThesaurusSummary> thesaurusSummaryItems)
An array of summary information for one or more thesauruses.
|
String |
toString()
Returns a string representation of this object.
|
ListThesauriResult |
withNextToken(String nextToken)
If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to
retrieve the next set of thesauri.
|
ListThesauriResult |
withThesaurusSummaryItems(Collection<ThesaurusSummary> thesaurusSummaryItems)
An array of summary information for one or more thesauruses.
|
ListThesauriResult |
withThesaurusSummaryItems(ThesaurusSummary... thesaurusSummaryItems)
An array of summary information for one or more thesauruses.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of thesauri.
nextToken
- If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request
to retrieve the next set of thesauri.public String getNextToken()
If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of thesauri.
public ListThesauriResult withNextToken(String nextToken)
If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of thesauri.
nextToken
- If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request
to retrieve the next set of thesauri.public List<ThesaurusSummary> getThesaurusSummaryItems()
An array of summary information for one or more thesauruses.
public void setThesaurusSummaryItems(Collection<ThesaurusSummary> thesaurusSummaryItems)
An array of summary information for one or more thesauruses.
thesaurusSummaryItems
- An array of summary information for one or more thesauruses.public ListThesauriResult withThesaurusSummaryItems(ThesaurusSummary... thesaurusSummaryItems)
An array of summary information for one or more thesauruses.
NOTE: This method appends the values to the existing list (if any). Use
setThesaurusSummaryItems(java.util.Collection)
or
withThesaurusSummaryItems(java.util.Collection)
if you want to override the existing values.
thesaurusSummaryItems
- An array of summary information for one or more thesauruses.public ListThesauriResult withThesaurusSummaryItems(Collection<ThesaurusSummary> thesaurusSummaryItems)
An array of summary information for one or more thesauruses.
thesaurusSummaryItems
- An array of summary information for one or more thesauruses.public String toString()
toString
in class Object
Object.toString()
public ListThesauriResult clone()