Interface BucketServerSideEncryption.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BucketServerSideEncryption.Builder,BucketServerSideEncryption>,SdkBuilder<BucketServerSideEncryption.Builder,BucketServerSideEncryption>,SdkPojo
- Enclosing class:
- BucketServerSideEncryption
public static interface BucketServerSideEncryption.Builder extends SdkPojo, CopyableBuilder<BucketServerSideEncryption.Builder,BucketServerSideEncryption>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BucketServerSideEncryption.BuilderkmsMasterKeyId(String kmsMasterKeyId)The Amazon Resource Name (ARN) or unique identifier (key ID) for the KMS key that's used by default to encrypt objects that are added to the bucket.BucketServerSideEncryption.Buildertype(String type)The server-side encryption algorithm that's used by default to encrypt objects that are added to the bucket.BucketServerSideEncryption.Buildertype(Type type)The server-side encryption algorithm that's used by default to encrypt objects that are added to the bucket.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
kmsMasterKeyId
BucketServerSideEncryption.Builder kmsMasterKeyId(String kmsMasterKeyId)
The Amazon Resource Name (ARN) or unique identifier (key ID) for the KMS key that's used by default to encrypt objects that are added to the bucket. This value is null if the bucket is configured to use an Amazon S3 managed key to encrypt new objects.
- Parameters:
kmsMasterKeyId- The Amazon Resource Name (ARN) or unique identifier (key ID) for the KMS key that's used by default to encrypt objects that are added to the bucket. This value is null if the bucket is configured to use an Amazon S3 managed key to encrypt new objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
BucketServerSideEncryption.Builder type(String type)
The server-side encryption algorithm that's used by default to encrypt objects that are added to the bucket. Possible values are:
-
AES256 - New objects use SSE-S3 encryption. They're encrypted with an Amazon S3 managed key.
-
aws:kms - New objects use SSE-KMS encryption. They're encrypted with an KMS key (kmsMasterKeyId), either an Amazon Web Services managed key or a customer managed key.
-
aws:kms:dsse - New objects use DSSE-KMS encryption. They're encrypted with an KMS key (kmsMasterKeyId), either an Amazon Web Services managed key or a customer managed key.
-
NONE - The bucket's default encryption settings don't specify server-side encryption behavior for new objects.
- Parameters:
type- The server-side encryption algorithm that's used by default to encrypt objects that are added to the bucket. Possible values are:-
AES256 - New objects use SSE-S3 encryption. They're encrypted with an Amazon S3 managed key.
-
aws:kms - New objects use SSE-KMS encryption. They're encrypted with an KMS key (kmsMasterKeyId), either an Amazon Web Services managed key or a customer managed key.
-
aws:kms:dsse - New objects use DSSE-KMS encryption. They're encrypted with an KMS key (kmsMasterKeyId), either an Amazon Web Services managed key or a customer managed key.
-
NONE - The bucket's default encryption settings don't specify server-side encryption behavior for new objects.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Type,Type
-
-
type
BucketServerSideEncryption.Builder type(Type type)
The server-side encryption algorithm that's used by default to encrypt objects that are added to the bucket. Possible values are:
-
AES256 - New objects use SSE-S3 encryption. They're encrypted with an Amazon S3 managed key.
-
aws:kms - New objects use SSE-KMS encryption. They're encrypted with an KMS key (kmsMasterKeyId), either an Amazon Web Services managed key or a customer managed key.
-
aws:kms:dsse - New objects use DSSE-KMS encryption. They're encrypted with an KMS key (kmsMasterKeyId), either an Amazon Web Services managed key or a customer managed key.
-
NONE - The bucket's default encryption settings don't specify server-side encryption behavior for new objects.
- Parameters:
type- The server-side encryption algorithm that's used by default to encrypt objects that are added to the bucket. Possible values are:-
AES256 - New objects use SSE-S3 encryption. They're encrypted with an Amazon S3 managed key.
-
aws:kms - New objects use SSE-KMS encryption. They're encrypted with an KMS key (kmsMasterKeyId), either an Amazon Web Services managed key or a customer managed key.
-
aws:kms:dsse - New objects use DSSE-KMS encryption. They're encrypted with an KMS key (kmsMasterKeyId), either an Amazon Web Services managed key or a customer managed key.
-
NONE - The bucket's default encryption settings don't specify server-side encryption behavior for new objects.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Type,Type
-
-
-