Interface StorageLensDataExport.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<StorageLensDataExport.Builder,,StorageLensDataExport> SdkBuilder<StorageLensDataExport.Builder,,StorageLensDataExport> SdkPojo
- Enclosing class:
StorageLensDataExport
-
Method Summary
Modifier and TypeMethodDescriptiondefault StorageLensDataExport.BuildercloudWatchMetrics(Consumer<StorageLensConfigurationItem.Builder> cloudWatchMetrics) Specifies whether S3 Storage Lens publishes metrics to Amazon CloudWatch.cloudWatchMetrics(StorageLensConfigurationItem cloudWatchMetrics) Specifies whether S3 Storage Lens publishes metrics to Amazon CloudWatch.default StorageLensDataExport.Builders3BucketDestination(Consumer<S3BucketDestination.Builder> s3BucketDestination) The general purpose bucket that S3 Storage Lens exports metrics files to.s3BucketDestination(S3BucketDestination s3BucketDestination) The general purpose bucket that S3 Storage Lens exports metrics files to.default StorageLensDataExport.BuilderstorageLensTableDestination(Consumer<StorageLensTableDestination.Builder> storageLensTableDestination) Specifies whether S3 Storage Lens exports metrics to read-only tables in the Amazon Web Services managed table bucketaws-s3.storageLensTableDestination(StorageLensTableDestination storageLensTableDestination) Specifies whether S3 Storage Lens exports metrics to read-only tables in the Amazon Web Services managed table bucketaws-s3.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
-
cloudWatchMetrics
Specifies whether S3 Storage Lens publishes metrics to Amazon CloudWatch.
- Parameters:
cloudWatchMetrics- Specifies whether S3 Storage Lens publishes metrics to Amazon CloudWatch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchMetrics
default StorageLensDataExport.Builder cloudWatchMetrics(Consumer<StorageLensConfigurationItem.Builder> cloudWatchMetrics) Specifies whether S3 Storage Lens publishes metrics to Amazon CloudWatch.
This is a convenience method that creates an instance of theStorageLensConfigurationItem.Builderavoiding the need to create one manually viaStorageLensConfigurationItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocloudWatchMetrics(StorageLensConfigurationItem).- Parameters:
cloudWatchMetrics- a consumer that will call methods onStorageLensConfigurationItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3BucketDestination
The general purpose bucket that S3 Storage Lens exports metrics files to.
- Parameters:
s3BucketDestination- The general purpose bucket that S3 Storage Lens exports metrics files to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3BucketDestination
default StorageLensDataExport.Builder s3BucketDestination(Consumer<S3BucketDestination.Builder> s3BucketDestination) The general purpose bucket that S3 Storage Lens exports metrics files to.
This is a convenience method that creates an instance of theS3BucketDestination.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:
-
storageLensTableDestination
StorageLensDataExport.Builder storageLensTableDestination(StorageLensTableDestination storageLensTableDestination) Specifies whether S3 Storage Lens exports metrics to read-only tables in the Amazon Web Services managed table bucket
aws-s3.- Parameters:
storageLensTableDestination- Specifies whether S3 Storage Lens exports metrics to read-only tables in the Amazon Web Services managed table bucketaws-s3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageLensTableDestination
default StorageLensDataExport.Builder storageLensTableDestination(Consumer<StorageLensTableDestination.Builder> storageLensTableDestination) Specifies whether S3 Storage Lens exports metrics to read-only tables in the Amazon Web Services managed table bucket
This is a convenience method that creates an instance of theaws-s3.StorageLensTableDestination.Builderavoiding the need to create one manually viaStorageLensTableDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostorageLensTableDestination(StorageLensTableDestination).- Parameters:
storageLensTableDestination- a consumer that will call methods onStorageLensTableDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-