Interface SnapshotS3DestinationConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SnapshotS3DestinationConfiguration.Builder,,SnapshotS3DestinationConfiguration> SdkBuilder<SnapshotS3DestinationConfiguration.Builder,,SnapshotS3DestinationConfiguration> SdkPojo
- Enclosing class:
SnapshotS3DestinationConfiguration
@Mutable
@NotThreadSafe
public static interface SnapshotS3DestinationConfiguration.Builder
extends SdkPojo, CopyableBuilder<SnapshotS3DestinationConfiguration.Builder,SnapshotS3DestinationConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionbucketConfiguration(Consumer<S3BucketConfiguration.Builder> bucketConfiguration) A structure that contains details about the Amazon S3 bucket that the generated dashboard snapshot is saved in.bucketConfiguration(S3BucketConfiguration bucketConfiguration) A structure that contains details about the Amazon S3 bucket that the generated dashboard snapshot is saved in.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, sdkFieldNameToField, sdkFields
-
Method Details
-
bucketConfiguration
SnapshotS3DestinationConfiguration.Builder bucketConfiguration(S3BucketConfiguration bucketConfiguration) A structure that contains details about the Amazon S3 bucket that the generated dashboard snapshot is saved in.
- Parameters:
bucketConfiguration- A structure that contains details about the Amazon S3 bucket that the generated dashboard snapshot is saved in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucketConfiguration
default SnapshotS3DestinationConfiguration.Builder bucketConfiguration(Consumer<S3BucketConfiguration.Builder> bucketConfiguration) A structure that contains details about the Amazon S3 bucket that the generated dashboard snapshot is saved in.
This is a convenience method that creates an instance of theS3BucketConfiguration.Builderavoiding the need to create one manually viaS3BucketConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobucketConfiguration(S3BucketConfiguration).- Parameters:
bucketConfiguration- a consumer that will call methods onS3BucketConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-