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() |
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)
Sets the AWS KMS key ID used for object encryption.
|
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)
Sets the AWS KMS key ID used for object encryption.
|
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()
public void setKmsKeyId(String kmsKeyId)
kmsKeyId
- The new kmsKeyId value.public Encryption withKmsKeyId(String kmsKeyId)
kmsKeyId
- The new kmsKeyId value.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 © 2021. All rights reserved.