Interface StorageLensDataExport.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StorageLensDataExport.Builder,
,StorageLensDataExport> SdkBuilder<StorageLensDataExport.Builder,
,StorageLensDataExport> SdkPojo
- Enclosing class:
StorageLensDataExport
-
Method Summary
Modifier and TypeMethodDescriptiondefault StorageLensDataExport.Builder
cloudWatchMetrics
(Consumer<CloudWatchMetrics.Builder> cloudWatchMetrics) A container for enabling Amazon CloudWatch publishing for S3 Storage Lens metrics.cloudWatchMetrics
(CloudWatchMetrics cloudWatchMetrics) A container for enabling Amazon CloudWatch publishing for S3 Storage Lens metrics.default StorageLensDataExport.Builder
s3BucketDestination
(Consumer<S3BucketDestination.Builder> s3BucketDestination) A container for the bucket where the S3 Storage Lens metrics export will be located.s3BucketDestination
(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 Details
-
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 bucket must be located in the same Region as the storage lens configuration.
S3BucketDestination.Builder
avoiding the need to create one manually viaS3BucketDestination.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaCloudWatchMetrics.builder()
.When the
Consumer
completes,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:
-