Interface Encryption.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Encryption.Builder,
,Encryption> SdkBuilder<Encryption.Builder,
,Encryption> SdkPojo
- Enclosing class:
Encryption
@Mutable
@NotThreadSafe
public static interface Encryption.Builder
extends SdkPojo, CopyableBuilder<Encryption.Builder,Encryption>
-
Method Summary
Modifier and TypeMethodDescriptionencryptionType
(String encryptionType) The server-side encryption algorithm used when storing job results in Amazon S3 (for example, AES256,aws:kms
).encryptionType
(ServerSideEncryption encryptionType) The server-side encryption algorithm used when storing job results in Amazon S3 (for example, AES256,aws:kms
).kmsContext
(String kmsContext) If the encryption type isaws:kms
, this optional value can be used to specify the encryption context for the restore results.If the encryption type isaws:kms
, this optional value specifies the ID of the symmetric encryption customer managed key to use for encryption of job results.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 Details
-
encryptionType
The server-side encryption algorithm used when storing job results in Amazon S3 (for example, AES256,
aws:kms
).- Parameters:
encryptionType
- The server-side encryption algorithm used when storing job results in Amazon S3 (for example, AES256,aws:kms
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionType
The server-side encryption algorithm used when storing job results in Amazon S3 (for example, AES256,
aws:kms
).- Parameters:
encryptionType
- The server-side encryption algorithm used when storing job results in Amazon S3 (for example, AES256,aws:kms
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsKeyId
If the encryption type is
aws:kms
, this optional value specifies the ID of the symmetric encryption customer managed key to use for encryption of job results. Amazon S3 only supports symmetric encryption KMS keys. For more information, see Asymmetric keys in KMS in the Amazon Web Services Key Management Service Developer Guide.- Parameters:
kmsKeyId
- If the encryption type isaws:kms
, this optional value specifies the ID of the symmetric encryption customer managed key to use for encryption of job results. Amazon S3 only supports symmetric encryption KMS keys. For more information, see Asymmetric keys in KMS in the Amazon Web Services Key Management Service Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsContext
If the encryption type is
aws:kms
, this optional value can be used to specify the encryption context for the restore results.- Parameters:
kmsContext
- If the encryption type isaws:kms
, this optional value can be used to specify the encryption context for the restore results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-