Interface S3EncryptionConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<S3EncryptionConfiguration.Builder,,S3EncryptionConfiguration> SdkBuilder<S3EncryptionConfiguration.Builder,,S3EncryptionConfiguration> SdkPojo
- Enclosing class:
S3EncryptionConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of a symmetric encryption key in Key Management Service (KMS).objectEncryptionType(String objectEncryptionType) The Amazon S3 object encryption type.objectEncryptionType(S3ObjectEncryptionType objectEncryptionType) The Amazon S3 object encryption type.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, sdkFields
-
Method Details
-
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:
-
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:
-
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
KmsKeyArnif you specifySSE_KMSas theObjectEncryptionType.KmsKeyArnis not required if you specifySSE_S3as 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
KmsKeyArnif you specifySSE_KMSas theObjectEncryptionType.KmsKeyArnis not required if you specifySSE_S3as theObjectEncryptionType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-