Class UpdateThesaurusRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.kendra.model.KendraRequest
-
- software.amazon.awssdk.services.kendra.model.UpdateThesaurusRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateThesaurusRequest.Builder,UpdateThesaurusRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateThesaurusRequest extends KendraRequest implements ToCopyableBuilder<UpdateThesaurusRequest.Builder,UpdateThesaurusRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateThesaurusRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateThesaurusRequest.Builderbuilder()Stringdescription()A new description for the thesaurus.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The identifier of the thesaurus you want to update.StringindexId()The identifier of the index for the thesaurus.Stringname()A new name for the thesaurus.StringroleArn()An IAM role that gives Amazon Kendra permissions to access thesaurus file specified inSourceS3Path.List<SdkField<?>>sdkFields()static Class<? extends UpdateThesaurusRequest.Builder>serializableBuilderClass()S3PathsourceS3Path()Returns the value of the SourceS3Path property for this object.UpdateThesaurusRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
id
public final String id()
The identifier of the thesaurus you want to update.
- Returns:
- The identifier of the thesaurus you want to update.
-
name
public final String name()
A new name for the thesaurus.
- Returns:
- A new name for the thesaurus.
-
indexId
public final String indexId()
The identifier of the index for the thesaurus.
- Returns:
- The identifier of the index for the thesaurus.
-
description
public final String description()
A new description for the thesaurus.
- Returns:
- A new description for the thesaurus.
-
roleArn
public final String roleArn()
An IAM role that gives Amazon Kendra permissions to access thesaurus file specified in
SourceS3Path.- Returns:
- An IAM role that gives Amazon Kendra permissions to access thesaurus file specified in
SourceS3Path.
-
sourceS3Path
public final S3Path sourceS3Path()
Returns the value of the SourceS3Path property for this object.- Returns:
- The value of the SourceS3Path property for this object.
-
toBuilder
public UpdateThesaurusRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateThesaurusRequest.Builder,UpdateThesaurusRequest>- Specified by:
toBuilderin classKendraRequest
-
builder
public static UpdateThesaurusRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateThesaurusRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-