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.BuilderencryptionType(String encryptionType)The server-side encryption algorithm used when storing job results in Amazon S3, for exampleAES256oraws:kms.Encryption.BuilderencryptionType(EncryptionType encryptionType)The server-side encryption algorithm used when storing job results in Amazon S3, for exampleAES256oraws:kms.Encryption.BuilderkmsContext(String kmsContext)Optional.Encryption.BuilderkmsKeyId(String kmsKeyId)The AWS KMS key ID to use for object encryption.-
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
AES256oraws:kms.- Parameters:
encryptionType- The server-side encryption algorithm used when storing job results in Amazon S3, for exampleAES256oraws:kms.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EncryptionType,EncryptionType
-
encryptionType
Encryption.Builder encryptionType(EncryptionType encryptionType)
The server-side encryption algorithm used when storing job results in Amazon S3, for example
AES256oraws:kms.- Parameters:
encryptionType- The server-side encryption algorithm used when storing job results in Amazon S3, for exampleAES256oraws:kms.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EncryptionType,EncryptionType
-
kmsKeyId
Encryption.Builder kmsKeyId(String kmsKeyId)
The AWS KMS key ID to use for object encryption. All GET and PUT requests for an object protected by AWS KMS fail if not made by using Secure Sockets Layer (SSL) or Signature Version 4.
- Parameters:
kmsKeyId- The AWS KMS key ID to use for object encryption. All GET and PUT requests for an object protected by AWS KMS fail if not made by using Secure Sockets Layer (SSL) or Signature Version 4.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsContext
Encryption.Builder kmsContext(String kmsContext)
Optional. If the encryption type is
aws:kms, you can use this value to specify the encryption context for the job results.- Parameters:
kmsContext- Optional. If the encryption type isaws:kms, you can use this value to specify the encryption context for the job results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-