@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeThesaurusResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeThesaurusResult() |
Modifier and Type | Method and Description |
---|---|
DescribeThesaurusResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The Unix timestamp when the thesaurus was created.
|
String |
getDescription()
The thesaurus description.
|
String |
getErrorMessage()
When the
Status field value is FAILED , the ErrorMessage field provides
more information. |
Long |
getFileSizeBytes()
The size of the thesaurus file in bytes.
|
String |
getId()
The identifier of the thesaurus.
|
String |
getIndexId()
The identifier of the index for the thesaurus.
|
String |
getName()
The thesaurus name.
|
String |
getRoleArn()
An IAM role that gives Amazon Kendra permissions to access thesaurus file specified in
SourceS3Path . |
S3Path |
getSourceS3Path() |
String |
getStatus()
The current status of the thesaurus.
|
Long |
getSynonymRuleCount()
The number of synonym rules in the thesaurus file.
|
Long |
getTermCount()
The number of unique terms in the thesaurus file.
|
Date |
getUpdatedAt()
The Unix timestamp when the thesaurus was last updated.
|
int |
hashCode() |
void |
setCreatedAt(Date createdAt)
The Unix timestamp when the thesaurus was created.
|
void |
setDescription(String description)
The thesaurus description.
|
void |
setErrorMessage(String errorMessage)
When the
Status field value is FAILED , the ErrorMessage field provides
more information. |
void |
setFileSizeBytes(Long fileSizeBytes)
The size of the thesaurus file in bytes.
|
void |
setId(String id)
The identifier of the thesaurus.
|
void |
setIndexId(String indexId)
The identifier of the index for the thesaurus.
|
void |
setName(String name)
The thesaurus name.
|
void |
setRoleArn(String roleArn)
An IAM role that gives Amazon Kendra permissions to access thesaurus file specified in
SourceS3Path . |
void |
setSourceS3Path(S3Path sourceS3Path) |
void |
setStatus(String status)
The current status of the thesaurus.
|
void |
setSynonymRuleCount(Long synonymRuleCount)
The number of synonym rules in the thesaurus file.
|
void |
setTermCount(Long termCount)
The number of unique terms in the thesaurus file.
|
void |
setUpdatedAt(Date updatedAt)
The Unix timestamp when the thesaurus was last updated.
|
String |
toString()
Returns a string representation of this object.
|
DescribeThesaurusResult |
withCreatedAt(Date createdAt)
The Unix timestamp when the thesaurus was created.
|
DescribeThesaurusResult |
withDescription(String description)
The thesaurus description.
|
DescribeThesaurusResult |
withErrorMessage(String errorMessage)
When the
Status field value is FAILED , the ErrorMessage field provides
more information. |
DescribeThesaurusResult |
withFileSizeBytes(Long fileSizeBytes)
The size of the thesaurus file in bytes.
|
DescribeThesaurusResult |
withId(String id)
The identifier of the thesaurus.
|
DescribeThesaurusResult |
withIndexId(String indexId)
The identifier of the index for the thesaurus.
|
DescribeThesaurusResult |
withName(String name)
The thesaurus name.
|
DescribeThesaurusResult |
withRoleArn(String roleArn)
An IAM role that gives Amazon Kendra permissions to access thesaurus file specified in
SourceS3Path . |
DescribeThesaurusResult |
withSourceS3Path(S3Path sourceS3Path) |
DescribeThesaurusResult |
withStatus(String status)
The current status of the thesaurus.
|
DescribeThesaurusResult |
withStatus(ThesaurusStatus status)
The current status of the thesaurus.
|
DescribeThesaurusResult |
withSynonymRuleCount(Long synonymRuleCount)
The number of synonym rules in the thesaurus file.
|
DescribeThesaurusResult |
withTermCount(Long termCount)
The number of unique terms in the thesaurus file.
|
DescribeThesaurusResult |
withUpdatedAt(Date updatedAt)
The Unix timestamp when the thesaurus was last updated.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setId(String id)
The identifier of the thesaurus.
id
- The identifier of the thesaurus.public String getId()
The identifier of the thesaurus.
public DescribeThesaurusResult withId(String id)
The identifier of the thesaurus.
id
- The identifier of 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 DescribeThesaurusResult withIndexId(String indexId)
The identifier of the index for the thesaurus.
indexId
- The identifier of the index for the thesaurus.public void setName(String name)
The thesaurus name.
name
- The thesaurus name.public String getName()
The thesaurus name.
public DescribeThesaurusResult withName(String name)
The thesaurus name.
name
- The thesaurus name.public void setDescription(String description)
The thesaurus description.
description
- The thesaurus description.public String getDescription()
The thesaurus description.
public DescribeThesaurusResult withDescription(String description)
The thesaurus description.
description
- The thesaurus description.public void setStatus(String status)
The current status of the thesaurus. When the value is ACTIVE
, queries are able to use the
thesaurus. If the Status
field value is FAILED
, the ErrorMessage
field
provides more information.
If the status is ACTIVE_BUT_UPDATE_FAILED
, it means that Amazon Kendra could not ingest the new
thesaurus file. The old thesaurus file is still active.
status
- The current status of the thesaurus. When the value is ACTIVE
, queries are able to use the
thesaurus. If the Status
field value is FAILED
, the ErrorMessage
field provides more information.
If the status is ACTIVE_BUT_UPDATE_FAILED
, it means that Amazon Kendra could not ingest the
new thesaurus file. The old thesaurus file is still active.
ThesaurusStatus
public String getStatus()
The current status of the thesaurus. When the value is ACTIVE
, queries are able to use the
thesaurus. If the Status
field value is FAILED
, the ErrorMessage
field
provides more information.
If the status is ACTIVE_BUT_UPDATE_FAILED
, it means that Amazon Kendra could not ingest the new
thesaurus file. The old thesaurus file is still active.
ACTIVE
, queries are able to use the
thesaurus. If the Status
field value is FAILED
, the ErrorMessage
field provides more information.
If the status is ACTIVE_BUT_UPDATE_FAILED
, it means that Amazon Kendra could not ingest the
new thesaurus file. The old thesaurus file is still active.
ThesaurusStatus
public DescribeThesaurusResult withStatus(String status)
The current status of the thesaurus. When the value is ACTIVE
, queries are able to use the
thesaurus. If the Status
field value is FAILED
, the ErrorMessage
field
provides more information.
If the status is ACTIVE_BUT_UPDATE_FAILED
, it means that Amazon Kendra could not ingest the new
thesaurus file. The old thesaurus file is still active.
status
- The current status of the thesaurus. When the value is ACTIVE
, queries are able to use the
thesaurus. If the Status
field value is FAILED
, the ErrorMessage
field provides more information.
If the status is ACTIVE_BUT_UPDATE_FAILED
, it means that Amazon Kendra could not ingest the
new thesaurus file. The old thesaurus file is still active.
ThesaurusStatus
public DescribeThesaurusResult withStatus(ThesaurusStatus status)
The current status of the thesaurus. When the value is ACTIVE
, queries are able to use the
thesaurus. If the Status
field value is FAILED
, the ErrorMessage
field
provides more information.
If the status is ACTIVE_BUT_UPDATE_FAILED
, it means that Amazon Kendra could not ingest the new
thesaurus file. The old thesaurus file is still active.
status
- The current status of the thesaurus. When the value is ACTIVE
, queries are able to use the
thesaurus. If the Status
field value is FAILED
, the ErrorMessage
field provides more information.
If the status is ACTIVE_BUT_UPDATE_FAILED
, it means that Amazon Kendra could not ingest the
new thesaurus file. The old thesaurus file is still active.
ThesaurusStatus
public void setErrorMessage(String errorMessage)
When the Status
field value is FAILED
, the ErrorMessage
field provides
more information.
errorMessage
- When the Status
field value is FAILED
, the ErrorMessage
field
provides more information.public String getErrorMessage()
When the Status
field value is FAILED
, the ErrorMessage
field provides
more information.
Status
field value is FAILED
, the ErrorMessage
field
provides more information.public DescribeThesaurusResult withErrorMessage(String errorMessage)
When the Status
field value is FAILED
, the ErrorMessage
field provides
more information.
errorMessage
- When the Status
field value is FAILED
, the ErrorMessage
field
provides more information.public void setCreatedAt(Date createdAt)
The Unix timestamp when the thesaurus was created.
createdAt
- The Unix timestamp when the thesaurus was created.public Date getCreatedAt()
The Unix timestamp when the thesaurus was created.
public DescribeThesaurusResult withCreatedAt(Date createdAt)
The Unix timestamp when the thesaurus was created.
createdAt
- The Unix timestamp when the thesaurus was created.public void setUpdatedAt(Date updatedAt)
The Unix timestamp when the thesaurus was last updated.
updatedAt
- The Unix timestamp when the thesaurus was last updated.public Date getUpdatedAt()
The Unix timestamp when the thesaurus was last updated.
public DescribeThesaurusResult withUpdatedAt(Date updatedAt)
The Unix timestamp when the thesaurus was last updated.
updatedAt
- The Unix timestamp when the thesaurus was last updated.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 DescribeThesaurusResult 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 DescribeThesaurusResult withSourceS3Path(S3Path sourceS3Path)
sourceS3Path
- public void setFileSizeBytes(Long fileSizeBytes)
The size of the thesaurus file in bytes.
fileSizeBytes
- The size of the thesaurus file in bytes.public Long getFileSizeBytes()
The size of the thesaurus file in bytes.
public DescribeThesaurusResult withFileSizeBytes(Long fileSizeBytes)
The size of the thesaurus file in bytes.
fileSizeBytes
- The size of the thesaurus file in bytes.public void setTermCount(Long termCount)
The number of unique terms in the thesaurus file. For example, the synonyms a,b,c
and
a=>d
, the term count would be 4.
termCount
- The number of unique terms in the thesaurus file. For example, the synonyms a,b,c
and
a=>d
, the term count would be 4.public Long getTermCount()
The number of unique terms in the thesaurus file. For example, the synonyms a,b,c
and
a=>d
, the term count would be 4.
a,b,c
and
a=>d
, the term count would be 4.public DescribeThesaurusResult withTermCount(Long termCount)
The number of unique terms in the thesaurus file. For example, the synonyms a,b,c
and
a=>d
, the term count would be 4.
termCount
- The number of unique terms in the thesaurus file. For example, the synonyms a,b,c
and
a=>d
, the term count would be 4.public void setSynonymRuleCount(Long synonymRuleCount)
The number of synonym rules in the thesaurus file.
synonymRuleCount
- The number of synonym rules in the thesaurus file.public Long getSynonymRuleCount()
The number of synonym rules in the thesaurus file.
public DescribeThesaurusResult withSynonymRuleCount(Long synonymRuleCount)
The number of synonym rules in the thesaurus file.
synonymRuleCount
- The number of synonym rules in the thesaurus file.public String toString()
toString
in class Object
Object.toString()
public DescribeThesaurusResult clone()