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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description S3BucketDestination.BuilderaccountId(String accountId)The account ID of the owner of the S3 Storage Lens metrics export bucket.S3BucketDestination.Builderarn(String arn)The Amazon Resource Name (ARN) of the bucket.default S3BucketDestination.Builderencryption(Consumer<StorageLensDataExportEncryption.Builder> encryption)The container for the type encryption of the metrics exports in this bucket.S3BucketDestination.Builderencryption(StorageLensDataExportEncryption encryption)The container for the type encryption of the metrics exports in this bucket.S3BucketDestination.Builderformat(String format)S3BucketDestination.Builderformat(Format format)S3BucketDestination.BuilderoutputSchemaVersion(String outputSchemaVersion)The schema version of the export file.S3BucketDestination.BuilderoutputSchemaVersion(OutputSchemaVersion outputSchemaVersion)The schema version of the export file.S3BucketDestination.Builderprefix(String prefix)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 Detail
-
format
S3BucketDestination.Builder format(String format)
-
format
S3BucketDestination.Builder format(Format format)
-
outputSchemaVersion
S3BucketDestination.Builder outputSchemaVersion(String 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,OutputSchemaVersion
-
outputSchemaVersion
S3BucketDestination.Builder outputSchemaVersion(OutputSchemaVersion 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,OutputSchemaVersion
-
accountId
S3BucketDestination.Builder accountId(String 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
S3BucketDestination.Builder arn(String 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
S3BucketDestination.Builder prefix(String 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
S3BucketDestination.Builder encryption(StorageLensDataExportEncryption 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.Builderavoiding the need to create one manually viaStorageLensDataExportEncryption.builder().When the
Consumercompletes,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:
encryption(StorageLensDataExportEncryption)
-
-