Interface S3EncryptionConfiguration.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<S3EncryptionConfiguration.Builder,S3EncryptionConfiguration>
,SdkBuilder<S3EncryptionConfiguration.Builder,S3EncryptionConfiguration>
,SdkPojo
- Enclosing class:
- S3EncryptionConfiguration
public static interface S3EncryptionConfiguration.Builder extends SdkPojo, CopyableBuilder<S3EncryptionConfiguration.Builder,S3EncryptionConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description S3EncryptionConfiguration.Builder
kmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of a symmetric encryption key in Key Management Service (KMS).S3EncryptionConfiguration.Builder
objectEncryptionType(String objectEncryptionType)
The Amazon S3 object encryption type.S3EncryptionConfiguration.Builder
objectEncryptionType(S3ObjectEncryptionType objectEncryptionType)
The Amazon S3 object encryption type.-
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
-
objectEncryptionType
S3EncryptionConfiguration.Builder objectEncryptionType(String objectEncryptionType)
The Amazon S3 object encryption type.
To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.
- Parameters:
objectEncryptionType
- The Amazon S3 object encryption type.To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
S3ObjectEncryptionType
,S3ObjectEncryptionType
-
objectEncryptionType
S3EncryptionConfiguration.Builder objectEncryptionType(S3ObjectEncryptionType objectEncryptionType)
The Amazon S3 object encryption type.
To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.
- Parameters:
objectEncryptionType
- The Amazon S3 object encryption type.To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
S3ObjectEncryptionType
,S3ObjectEncryptionType
-
kmsKeyArn
S3EncryptionConfiguration.Builder kmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of a symmetric encryption key in Key Management Service (KMS). Amazon S3 does not support asymmetric KMS keys.
You must provide a
KmsKeyArn
if you specifySSE_KMS
as theObjectEncryptionType
.KmsKeyArn
is not required if you specifySSE_S3
as theObjectEncryptionType
.- Parameters:
kmsKeyArn
- The Amazon Resource Name (ARN) of a symmetric encryption key in Key Management Service (KMS). Amazon S3 does not support asymmetric KMS keys.You must provide a
KmsKeyArn
if you specifySSE_KMS
as theObjectEncryptionType
.KmsKeyArn
is not required if you specifySSE_S3
as theObjectEncryptionType
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-