Interface S3BucketTranscriptSource.Builder

All Superinterfaces:
Buildable, CopyableBuilder<S3BucketTranscriptSource.Builder,S3BucketTranscriptSource>, SdkBuilder<S3BucketTranscriptSource.Builder,S3BucketTranscriptSource>, SdkPojo
Enclosing class:
S3BucketTranscriptSource

public static interface S3BucketTranscriptSource.Builder extends SdkPojo, CopyableBuilder<S3BucketTranscriptSource.Builder,S3BucketTranscriptSource>
  • Method Details

    • s3BucketName

      S3BucketTranscriptSource.Builder s3BucketName(String s3BucketName)

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

      Parameters:
      s3BucketName - The name of the bucket containing the transcript and the associated metadata.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      This is a convenience method that creates an instance of the PathFormat.Builder avoiding the need to create one manually via PathFormat.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to pathFormat(PathFormat).

      Parameters:
      pathFormat - a consumer that will call methods on PathFormat.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • transcriptFormat

      S3BucketTranscriptSource.Builder transcriptFormat(String transcriptFormat)

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

      Parameters:
      transcriptFormat - The format of the transcript content. Currently, Genie only supports the Amazon Lex transcript format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • transcriptFormat

      S3BucketTranscriptSource.Builder transcriptFormat(TranscriptFormat transcriptFormat)

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

      Parameters:
      transcriptFormat - The format of the transcript content. Currently, Genie only supports the Amazon Lex transcript format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • transcriptFilter

      S3BucketTranscriptSource.Builder transcriptFilter(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • transcriptFilter

      default S3BucketTranscriptSource.Builder transcriptFilter(Consumer<TranscriptFilter.Builder> 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.

      This is a convenience method that creates an instance of the TranscriptFilter.Builder avoiding the need to create one manually via TranscriptFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to transcriptFilter(TranscriptFilter).

      Parameters:
      transcriptFilter - a consumer that will call methods on TranscriptFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.