Interface AudioLogDestination.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AudioLogDestination.Builder,
,AudioLogDestination> SdkBuilder<AudioLogDestination.Builder,
,AudioLogDestination> SdkPojo
- Enclosing class:
AudioLogDestination
public static interface AudioLogDestination.Builder
extends SdkPojo, CopyableBuilder<AudioLogDestination.Builder,AudioLogDestination>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AudioLogDestination.Builder
s3Bucket
(Consumer<S3BucketLogDestination.Builder> s3Bucket) The Amazon S3 bucket where the audio log files are stored.s3Bucket
(S3BucketLogDestination s3Bucket) The Amazon S3 bucket where the audio log files are stored.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
-
s3Bucket
The Amazon S3 bucket where the audio log files are stored. The IAM role specified in the
roleArn
parameter of the CreateBot operation must have permission to write to this bucket.- Parameters:
s3Bucket
- The Amazon S3 bucket where the audio log files are stored. The IAM role specified in theroleArn
parameter of the CreateBot operation must have permission to write to this bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Bucket
The Amazon S3 bucket where the audio log files are stored. The IAM role specified in the
This is a convenience method that creates an instance of theroleArn
parameter of the CreateBot operation must have permission to write to this bucket.S3BucketLogDestination.Builder
avoiding the need to create one manually viaS3BucketLogDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Bucket(S3BucketLogDestination)
.- Parameters:
s3Bucket
- a consumer that will call methods onS3BucketLogDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-