@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateThesaurusRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateThesaurusRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateThesaurusRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
A new description for the thesaurus.
|
String |
getId()
The identifier of the thesaurus you want to update.
|
String |
getIndexId()
The identifier of the index for the thesaurus.
|
String |
getName()
A new name for the thesaurus.
|
String |
getRoleArn()
An IAM role that gives Amazon Kendra permissions to access thesaurus file specified in
SourceS3Path . |
S3Path |
getSourceS3Path() |
int |
hashCode() |
void |
setDescription(String description)
A new description for the thesaurus.
|
void |
setId(String id)
The identifier of the thesaurus you want to update.
|
void |
setIndexId(String indexId)
The identifier of the index for the thesaurus.
|
void |
setName(String name)
A new name for the thesaurus.
|
void |
setRoleArn(String roleArn)
An IAM role that gives Amazon Kendra permissions to access thesaurus file specified in
SourceS3Path . |
void |
setSourceS3Path(S3Path sourceS3Path) |
String |
toString()
Returns a string representation of this object.
|
UpdateThesaurusRequest |
withDescription(String description)
A new description for the thesaurus.
|
UpdateThesaurusRequest |
withId(String id)
The identifier of the thesaurus you want to update.
|
UpdateThesaurusRequest |
withIndexId(String indexId)
The identifier of the index for the thesaurus.
|
UpdateThesaurusRequest |
withName(String name)
A new name for the thesaurus.
|
UpdateThesaurusRequest |
withRoleArn(String roleArn)
An IAM role that gives Amazon Kendra permissions to access thesaurus file specified in
SourceS3Path . |
UpdateThesaurusRequest |
withSourceS3Path(S3Path sourceS3Path) |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setId(String id)
The identifier of the thesaurus you want to update.
id
- The identifier of the thesaurus you want to update.public String getId()
The identifier of the thesaurus you want to update.
public UpdateThesaurusRequest withId(String id)
The identifier of the thesaurus you want to update.
id
- The identifier of the thesaurus you want to update.public void setName(String name)
A new name for the thesaurus.
name
- A new name for the thesaurus.public String getName()
A new name for the thesaurus.
public UpdateThesaurusRequest withName(String name)
A new name for the thesaurus.
name
- A new name for the thesaurus.public void setIndexId(String indexId)
The identifier of the index for the thesaurus.
indexId
- The identifier of the index for the thesaurus.public String getIndexId()
The identifier of the index for the thesaurus.
public UpdateThesaurusRequest withIndexId(String indexId)
The identifier of the index for the thesaurus.
indexId
- The identifier of the index for the thesaurus.public void setDescription(String description)
A new description for the thesaurus.
description
- A new description for the thesaurus.public String getDescription()
A new description for the thesaurus.
public UpdateThesaurusRequest withDescription(String description)
A new description for the thesaurus.
description
- A new description for the thesaurus.public void setRoleArn(String roleArn)
An IAM role that gives Amazon Kendra permissions to access thesaurus file specified in SourceS3Path
.
roleArn
- An IAM role that gives Amazon Kendra permissions to access thesaurus file specified in
SourceS3Path
.public String getRoleArn()
An IAM role that gives Amazon Kendra permissions to access thesaurus file specified in SourceS3Path
.
SourceS3Path
.public UpdateThesaurusRequest withRoleArn(String roleArn)
An IAM role that gives Amazon Kendra permissions to access thesaurus file specified in SourceS3Path
.
roleArn
- An IAM role that gives Amazon Kendra permissions to access thesaurus file specified in
SourceS3Path
.public void setSourceS3Path(S3Path sourceS3Path)
sourceS3Path
- public S3Path getSourceS3Path()
public UpdateThesaurusRequest withSourceS3Path(S3Path sourceS3Path)
sourceS3Path
- public String toString()
toString
in class Object
Object.toString()
public UpdateThesaurusRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()