Class S3BucketTranscriptSource

    • Method Detail

      • s3BucketName

        public final String s3BucketName()

        The name of the bucket containing the transcript and the associated metadata.

        Returns:
        The name of the bucket containing the transcript and the associated metadata.
      • pathFormat

        public final PathFormat pathFormat()

        The object that contains a path format that will be applied when Amazon Lex reads the transcript file in the bucket you provide. Specify this object if you only want Lex to read a subset of files in your Amazon S3 bucket.

        Returns:
        The object that contains a path format that will be applied when Amazon Lex reads the transcript file in the bucket you provide. Specify this object if you only want Lex to read a subset of files in your Amazon S3 bucket.
      • transcriptFormat

        public final TranscriptFormat transcriptFormat()

        The format of the transcript content. Currently, Genie only supports the Amazon Lex transcript format.

        If the service returns an enum value that is not available in the current SDK version, transcriptFormat will return TranscriptFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from transcriptFormatAsString().

        Returns:
        The format of the transcript content. Currently, Genie only supports the Amazon Lex transcript format.
        See Also:
        TranscriptFormat
      • transcriptFormatAsString

        public final String transcriptFormatAsString()

        The format of the transcript content. Currently, Genie only supports the Amazon Lex transcript format.

        If the service returns an enum value that is not available in the current SDK version, transcriptFormat will return TranscriptFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from transcriptFormatAsString().

        Returns:
        The format of the transcript content. Currently, Genie only supports the Amazon Lex transcript format.
        See Also:
        TranscriptFormat
      • transcriptFilter

        public final TranscriptFilter transcriptFilter()

        The object that contains the filter which will be applied when Amazon Lex reads through the Amazon S3 bucket. Specify this object if you want Amazon Lex to read only a subset of the Amazon S3 bucket based on the filter you provide.

        Returns:
        The object that contains the filter which will be applied when Amazon Lex reads through the Amazon S3 bucket. Specify this object if you want Amazon Lex to read only a subset of the Amazon S3 bucket based on the filter you provide.
      • kmsKeyArn

        public final String kmsKeyArn()

        The ARN of the KMS key that customer use to encrypt their Amazon S3 bucket. Only use this field if your bucket is encrypted using a customer managed KMS key.

        Returns:
        The ARN of the KMS key that customer use to encrypt their Amazon S3 bucket. Only use this field if your bucket is encrypted using a customer managed KMS key.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)