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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AudioLogDestination.Builders3Bucket(Consumer<S3BucketLogDestination.Builder> s3Bucket)The Amazon S3 bucket where the audio log files are stored.AudioLogDestination.Builders3Bucket(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 Detail
-
s3Bucket
AudioLogDestination.Builder s3Bucket(S3BucketLogDestination 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
default AudioLogDestination.Builder s3Bucket(Consumer<S3BucketLogDestination.Builder> 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:
s3Bucket(S3BucketLogDestination)
-
-