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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description S3BucketTranscriptSource.BuilderkmsKeyArn(String kmsKeyArn)The ARN of the KMS key that customer use to encrypt their Amazon S3 bucket.default S3BucketTranscriptSource.BuilderpathFormat(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.S3BucketTranscriptSource.BuilderpathFormat(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.S3BucketTranscriptSource.Builders3BucketName(String s3BucketName)The name of the bucket containing the transcript and the associated metadata.default S3BucketTranscriptSource.BuildertranscriptFilter(Consumer<TranscriptFilter.Builder> transcriptFilter)The object that contains the filter which will be applied when Amazon Lex reads through the Amazon S3 bucket.S3BucketTranscriptSource.BuildertranscriptFilter(TranscriptFilter transcriptFilter)The object that contains the filter which will be applied when Amazon Lex reads through the Amazon S3 bucket.S3BucketTranscriptSource.BuildertranscriptFormat(String transcriptFormat)The format of the transcript content.S3BucketTranscriptSource.BuildertranscriptFormat(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 Detail
-
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
S3BucketTranscriptSource.Builder 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. 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
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. 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.Builderavoiding the need to create one manually viaPathFormat.builder().When the
Consumercompletes,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:
pathFormat(PathFormat)
-
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,TranscriptFormat
-
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:
TranscriptFormat,TranscriptFormat
-
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 theTranscriptFilter.Builderavoiding the need to create one manually viaTranscriptFilter.builder().When the
Consumercompletes,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:
transcriptFilter(TranscriptFilter)
-
kmsKeyArn
S3BucketTranscriptSource.Builder kmsKeyArn(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.
- 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.
-
-