Interface StorageLensDataExport.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StorageLensDataExport.Builder,StorageLensDataExport>,SdkBuilder<StorageLensDataExport.Builder,StorageLensDataExport>,SdkPojo
- Enclosing class:
- StorageLensDataExport
public static interface StorageLensDataExport.Builder extends SdkPojo, CopyableBuilder<StorageLensDataExport.Builder,StorageLensDataExport>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StorageLensDataExport.BuildercloudWatchMetrics(Consumer<CloudWatchMetrics.Builder> cloudWatchMetrics)A container for enabling Amazon CloudWatch publishing for S3 Storage Lens metrics.StorageLensDataExport.BuildercloudWatchMetrics(CloudWatchMetrics cloudWatchMetrics)A container for enabling Amazon CloudWatch publishing for S3 Storage Lens metrics.default StorageLensDataExport.Builders3BucketDestination(Consumer<S3BucketDestination.Builder> s3BucketDestination)A container for the bucket where the S3 Storage Lens metrics export will be located.StorageLensDataExport.Builders3BucketDestination(S3BucketDestination s3BucketDestination)A container for the bucket where the S3 Storage Lens metrics export will be located.-
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
-
s3BucketDestination
StorageLensDataExport.Builder s3BucketDestination(S3BucketDestination s3BucketDestination)
A container for the bucket where the S3 Storage Lens metrics export will be located.
This bucket must be located in the same Region as the storage lens configuration.
- Parameters:
s3BucketDestination- A container for the bucket where the S3 Storage Lens metrics export will be located.This bucket must be located in the same Region as the storage lens configuration.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3BucketDestination
default StorageLensDataExport.Builder s3BucketDestination(Consumer<S3BucketDestination.Builder> s3BucketDestination)
A container for the bucket where the S3 Storage Lens metrics export will be located.
This is a convenience method that creates an instance of theThis bucket must be located in the same Region as the storage lens configuration.
S3BucketDestination.Builderavoiding the need to create one manually viaS3BucketDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3BucketDestination(S3BucketDestination).- Parameters:
s3BucketDestination- a consumer that will call methods onS3BucketDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3BucketDestination(S3BucketDestination)
-
cloudWatchMetrics
StorageLensDataExport.Builder cloudWatchMetrics(CloudWatchMetrics cloudWatchMetrics)
A container for enabling Amazon CloudWatch publishing for S3 Storage Lens metrics.
- Parameters:
cloudWatchMetrics- A container for enabling Amazon CloudWatch publishing for S3 Storage Lens metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchMetrics
default StorageLensDataExport.Builder cloudWatchMetrics(Consumer<CloudWatchMetrics.Builder> cloudWatchMetrics)
A container for enabling Amazon CloudWatch publishing for S3 Storage Lens metrics.
This is a convenience method that creates an instance of theCloudWatchMetrics.Builderavoiding the need to create one manually viaCloudWatchMetrics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocloudWatchMetrics(CloudWatchMetrics).- Parameters:
cloudWatchMetrics- a consumer that will call methods onCloudWatchMetrics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
cloudWatchMetrics(CloudWatchMetrics)
-
-