@Generated(value="software.amazon.awssdk:codegen") public final class CreateThesaurusRequest extends KendraRequest implements ToCopyableBuilder<CreateThesaurusRequest.Builder,CreateThesaurusRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateThesaurusRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateThesaurusRequest.Builder |
builder() |
String |
clientToken()
A token that you provide to identify the request to create a thesaurus.
|
String |
description()
The description for the new thesaurus.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
indexId()
The unique identifier of the index for the new thesaurus.
|
String |
name()
The name for the new thesaurus.
|
String |
roleArn()
An AWS Identity and Access Management (IAM) role that gives Amazon Kendra permissions to access thesaurus file
specified in
SourceS3Path. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateThesaurusRequest.Builder> |
serializableBuilderClass() |
S3Path |
sourceS3Path()
The thesaurus file Amazon S3 source path.
|
List<Tag> |
tags()
A list of key-value pairs that identify the thesaurus.
|
CreateThesaurusRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String indexId()
The unique identifier of the index for the new thesaurus.
public final String name()
The name for the new thesaurus.
public final String description()
The description for the new thesaurus.
public final String roleArn()
An AWS Identity and Access Management (IAM) role that gives Amazon Kendra permissions to access thesaurus file
specified in SourceS3Path.
SourceS3Path.public final boolean hasTags()
public final List<Tag> tags()
A list of key-value pairs that identify the thesaurus. You can use the tags to identify and organize your resources and to control access to resources.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public final S3Path sourceS3Path()
The thesaurus file Amazon S3 source path.
public final String clientToken()
A token that you provide to identify the request to create a thesaurus. Multiple calls to the
CreateThesaurus operation with the same client token will create only one index.
CreateThesaurus operation with the same client token will create only one index.public CreateThesaurusRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateThesaurusRequest.Builder,CreateThesaurusRequest>toBuilder in class KendraRequestpublic static CreateThesaurusRequest.Builder builder()
public static Class<? extends CreateThesaurusRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.