Interface S3BucketDestination.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<S3BucketDestination.Builder,
,S3BucketDestination> SdkBuilder<S3BucketDestination.Builder,
,S3BucketDestination> SdkPojo
- Enclosing class:
S3BucketDestination
public static interface S3BucketDestination.Builder
extends SdkPojo, CopyableBuilder<S3BucketDestination.Builder,S3BucketDestination>
-
Method Summary
Modifier and TypeMethodDescriptionThe account ID of the owner of the S3 Storage Lens metrics export bucket.The Amazon Resource Name (ARN) of the bucket.default S3BucketDestination.Builder
encryption
(Consumer<StorageLensDataExportEncryption.Builder> encryption) The container for the type encryption of the metrics exports in this bucket.encryption
(StorageLensDataExportEncryption encryption) The container for the type encryption of the metrics exports in this bucket.outputSchemaVersion
(String outputSchemaVersion) The schema version of the export file.outputSchemaVersion
(OutputSchemaVersion outputSchemaVersion) The schema version of the export file.The prefix of the destination bucket where the metrics export will be delivered.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
-
format
- Parameters:
format
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
- Parameters:
format
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputSchemaVersion
The schema version of the export file.
- Parameters:
outputSchemaVersion
- The schema version of the export file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputSchemaVersion
The schema version of the export file.
- Parameters:
outputSchemaVersion
- The schema version of the export file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accountId
The account ID of the owner of the S3 Storage Lens metrics export bucket.
- Parameters:
accountId
- The account ID of the owner of the S3 Storage Lens metrics export bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the bucket. This property is read-only and follows the following format:
arn:aws:s3:us-east-1:example-account-id:bucket/your-destination-bucket-name
- Parameters:
arn
- The Amazon Resource Name (ARN) of the bucket. This property is read-only and follows the following format:arn:aws:s3:us-east-1:example-account-id:bucket/your-destination-bucket-name
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefix
The prefix of the destination bucket where the metrics export will be delivered.
- Parameters:
prefix
- The prefix of the destination bucket where the metrics export will be delivered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryption
The container for the type encryption of the metrics exports in this bucket.
- Parameters:
encryption
- The container for the type encryption of the metrics exports in this bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryption
default S3BucketDestination.Builder encryption(Consumer<StorageLensDataExportEncryption.Builder> encryption) The container for the type encryption of the metrics exports in this bucket.
This is a convenience method that creates an instance of theStorageLensDataExportEncryption.Builder
avoiding the need to create one manually viaStorageLensDataExportEncryption.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryption(StorageLensDataExportEncryption)
.- Parameters:
encryption
- a consumer that will call methods onStorageLensDataExportEncryption.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-