Interface S3BucketTranscriptSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<S3BucketTranscriptSource.Builder,
,S3BucketTranscriptSource> SdkBuilder<S3BucketTranscriptSource.Builder,
,S3BucketTranscriptSource> SdkPojo
- Enclosing class:
S3BucketTranscriptSource
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the KMS key that customer use to encrypt their Amazon S3 bucket.default S3BucketTranscriptSource.Builder
pathFormat
(Consumer<PathFormat.Builder> pathFormat) The object that contains a path format that will be applied when Amazon Lex reads the transcript file in the bucket you provide.pathFormat
(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.s3BucketName
(String s3BucketName) The name of the bucket containing the transcript and the associated metadata.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.transcriptFilter
(TranscriptFilter transcriptFilter) The object that contains the filter which will be applied when Amazon Lex reads through the Amazon S3 bucket.transcriptFormat
(String transcriptFormat) The format of the transcript content.transcriptFormat
(TranscriptFormat transcriptFormat) The format of the transcript content.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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 thePathFormat.Builder
avoiding the need to create one manually viaPathFormat.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topathFormat(PathFormat)
.- Parameters:
pathFormat
- a consumer that will call methods onPathFormat.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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 theTranscriptFilter.Builder
avoiding the need to create one manually viaTranscriptFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totranscriptFilter(TranscriptFilter)
.- Parameters:
transcriptFilter
- a consumer that will call methods onTranscriptFilter.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.
-