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.Builders3Bucket(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
roleArnparameter 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 theroleArnparameter 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 theroleArnparameter of the CreateBot operation must have permission to write to this bucket.S3BucketLogDestination.Builderavoiding the need to create one manually viaS3BucketLogDestination.builder().When the
Consumercompletes,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:
-