Interface S3BucketDestination.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<S3BucketDestination.Builder,,S3BucketDestination> SdkBuilder<S3BucketDestination.Builder,,S3BucketDestination> SdkPojo
- Enclosing class:
S3BucketDestination
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the account that owns the bucket.The Amazon Resource Name (ARN) of the bucket, such asarn:aws:s3:::amzn-s3-demo-bucket.default S3BucketDestination.Builderencryption(Consumer<EncryptionConfiguration.Builder> encryption) The server-side encryption for the export files.encryption(EncryptionConfiguration encryption) The server-side encryption for the export files.The format of the export files.format(StorageLensOutputFormat format) The format of the export files.outputSchemaVersion(String outputSchemaVersion) The schema version of the export files.outputSchemaVersion(StorageLensOutputSchemaVersion outputSchemaVersion) The schema version of the export files.The prefix in the bucket where S3 Storage Lens delivers the export files.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
-
format
The format of the export files.
- Parameters:
format- The format of the export files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
The format of the export files.
- Parameters:
format- The format of the export files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputSchemaVersion
The schema version of the export files.
- Parameters:
outputSchemaVersion- The schema version of the export files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputSchemaVersion
The schema version of the export files.
- Parameters:
outputSchemaVersion- The schema version of the export files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accountId
The ID of the account that owns the bucket.
- Parameters:
accountId- The ID of the account that owns the 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, such as
arn:aws:s3:::amzn-s3-demo-bucket.- Parameters:
arn- The Amazon Resource Name (ARN) of the bucket, such asarn:aws:s3:::amzn-s3-demo-bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefix
The prefix in the bucket where S3 Storage Lens delivers the export files.
- Parameters:
prefix- The prefix in the bucket where S3 Storage Lens delivers the export files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryption
The server-side encryption for the export files. To use SSE-KMS, set
sseAlgorithmtoaws:kmsand specifykmsKeyArn. The KMS key must be in the same Region as the configuration.- Parameters:
encryption- The server-side encryption for the export files. To use SSE-KMS, setsseAlgorithmtoaws:kmsand specifykmsKeyArn. The KMS key must be in the same Region as the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryption
default S3BucketDestination.Builder encryption(Consumer<EncryptionConfiguration.Builder> encryption) The server-side encryption for the export files. To use SSE-KMS, set
This is a convenience method that creates an instance of thesseAlgorithmtoaws:kmsand specifykmsKeyArn. The KMS key must be in the same Region as the configuration.EncryptionConfiguration.Builderavoiding the need to create one manually viaEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryption(EncryptionConfiguration).- Parameters:
encryption- a consumer that will call methods onEncryptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-