public class Encryption extends Object implements Serializable, Cloneable
Constructor and Description |
---|
Encryption() |
Modifier and Type | Method and Description |
---|---|
Encryption |
clone() |
boolean |
equals(Object obj) |
String |
getEncryptionType() |
String |
getKmsContext() |
String |
getKmsKeyId()
If the encryption type is
aws:kms , this optional value specifies the ID of the symmetric customer
managed Amazon Web Services KMS CMK to use for encryption of job results. |
int |
hashCode() |
void |
setEncryptionType(String encryptionType)
Sets the server-side encryption algorithm used when storing job results in Amazon S3 (e.g., AES256, aws:kms).
|
void |
setKmsContext(String kmsContext)
Sets the optional value used to specify the encryption context for the restore results if the encryption type is aws:kms.
|
void |
setKmsKeyId(String kmsKeyId)
If the encryption type is
aws:kms , this optional value specifies the ID of the symmetric
customer managed Amazon Web Services KMS CMK to use for encryption of job results. |
String |
toString() |
Encryption |
withEncryptionType(SSEAlgorithm encryptionType)
Sets the encryptionType
|
Encryption |
withEncryptionType(String encryptionType)
Sets the encryptionType
|
Encryption |
withKmsContext(String kmsContext)
Sets the optional value used to specify the encryption context for the restore results if the encryption type is aws:kms.
|
Encryption |
withKmsKeyId(String kmsKeyId)
If the encryption type is
aws:kms , this optional value specifies the ID of the symmetric
customer managed Amazon Web Services KMS CMK to use for encryption of job results. |
public String getEncryptionType()
public void setEncryptionType(String encryptionType)
encryptionType
- The new encryptionType value.public Encryption withEncryptionType(String encryptionType)
encryptionType
- The new encryptionType value.public Encryption withEncryptionType(SSEAlgorithm encryptionType)
encryptionType
- The new encryptionType value.public String getKmsKeyId()
If the encryption type is aws:kms
, this optional value specifies the ID of the symmetric customer
managed Amazon Web Services KMS CMK to use for encryption of job results. Amazon S3 only supports symmetric CMKs.
For more information, see Using
symmetric and asymmetric keys in the Amazon Web Services Key Management Service Developer Guide.
aws:kms
, this optional value specifies the ID of the symmetric
customer managed Amazon Web Services KMS CMK to use for encryption of job results. Amazon S3 only
supports symmetric CMKs. For more information, see Using symmetric
and asymmetric keys in the Amazon Web Services Key Management Service Developer Guide.public void setKmsKeyId(String kmsKeyId)
If the encryption type is aws:kms
, this optional value specifies the ID of the symmetric
customer managed Amazon Web Services KMS CMK to use for encryption of job results. Amazon S3 only supports
symmetric CMKs. For more information, see Using symmetric and
asymmetric keys in the Amazon Web Services Key Management Service Developer Guide.
kmsKeyId
- If the encryption type is aws:kms
, this optional value specifies the ID of the symmetric
customer managed Amazon Web Services KMS CMK to use for encryption of job results. Amazon S3 only supports
symmetric CMKs. For more information, see Using symmetric
and asymmetric keys in the Amazon Web Services Key Management Service Developer Guide.public Encryption withKmsKeyId(String kmsKeyId)
If the encryption type is aws:kms
, this optional value specifies the ID of the symmetric
customer managed Amazon Web Services KMS CMK to use for encryption of job results. Amazon S3 only supports
symmetric CMKs. For more information, see Using symmetric and
asymmetric keys in the Amazon Web Services Key Management Service Developer Guide.
kmsKeyId
- If the encryption type is aws:kms
, this optional value specifies the ID of the symmetric
customer managed Amazon Web Services KMS CMK to use for encryption of job results. Amazon S3 only supports
symmetric CMKs. For more information, see Using symmetric
and asymmetric keys in the Amazon Web Services Key Management Service Developer Guide.public String getKmsContext()
public void setKmsContext(String kmsContext)
kmsContext
- The new kmsContext value.public Encryption withKmsContext(String kmsContext)
kmsContext
- The new kmsContext value.public Encryption clone()
Copyright © 2022. All rights reserved.