Class GetThesaurusResult


  • public final class GetThesaurusResult
    extends java.lang.Object
    • Method Detail

      • arn

        public java.lang.String arn()
        Returns:
        ARN of the Thesaurus.
      • createdAt

        public java.lang.String createdAt()
        Returns:
        Unix datetime that the Thesaurus was created.
      • description

        public java.lang.String description()
        Returns:
        Description of the Thesaurus.
      • errorMessage

        public java.lang.String errorMessage()
        Returns:
        When the `status` field value is `FAILED`, this contains a message that explains why.
      • fileSizeBytes

        public java.lang.Integer fileSizeBytes()
        Returns:
        Size of the Thesaurus file in bytes.
      • id

        public java.lang.String id()
        Returns:
        The provider-assigned unique ID for this managed resource.
      • indexId

        public java.lang.String indexId()
      • name

        public java.lang.String name()
        Returns:
        Name of the Thesaurus.
      • roleArn

        public java.lang.String roleArn()
        Returns:
        ARN of a role with permission to access the S3 bucket that contains the Thesaurus. For more information, see [IAM Roles for Amazon Kendra](https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html).
      • sourceS3Paths

        public java.util.List<GetThesaurusSourceS3Path> sourceS3Paths()
        Returns:
        S3 location of the Thesaurus input data. Detailed below.
      • status

        public java.lang.String status()
        Returns:
        Status of the Thesaurus. It is ready to use when the status is `ACTIVE`.
      • synonymRuleCount

        public java.lang.Integer synonymRuleCount()
        Returns:
        Number of synonym rules in the Thesaurus file.
      • tags

        public java.util.Map<java.lang.String,​java.lang.String> tags()
        Returns:
        Metadata that helps organize the Thesaurus you create.
      • termCount

        public java.lang.Integer termCount()
        Returns:
        Number of unique terms in the Thesaurus file. For example, the synonyms `a,b,c` and `a=>d`, the term count would be 4.
      • thesaurusId

        public java.lang.String thesaurusId()
      • updatedAt

        public java.lang.String updatedAt()
        Returns:
        Date and time that the Thesaurus was last updated.