Interface Encryption.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Encryption.Builder,Encryption>
,SdkBuilder<Encryption.Builder,Encryption>
,SdkPojo
- Enclosing class:
- Encryption
public static interface Encryption.Builder extends SdkPojo, CopyableBuilder<Encryption.Builder,Encryption>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Encryption.Builder
encryptionType(String encryptionType)
The server-side encryption algorithm used when storing job results in Amazon S3 (for example, AES256,aws:kms
).Encryption.Builder
encryptionType(ServerSideEncryption encryptionType)
The server-side encryption algorithm used when storing job results in Amazon S3 (for example, AES256,aws:kms
).Encryption.Builder
kmsContext(String kmsContext)
If the encryption type isaws:kms
, this optional value can be used to specify the encryption context for the restore results.Encryption.Builder
kmsKeyId(String 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.-
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
-
encryptionType
Encryption.Builder encryptionType(String 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:
ServerSideEncryption
,ServerSideEncryption
-
encryptionType
Encryption.Builder encryptionType(ServerSideEncryption 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:
ServerSideEncryption
,ServerSideEncryption
-
kmsKeyId
Encryption.Builder kmsKeyId(String 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
Encryption.Builder kmsContext(String 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.
-
-