@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Encryption extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the encryption used to store the job results in Amazon S3.
| Constructor and Description |
|---|
Encryption() |
| Modifier and Type | Method and Description |
|---|---|
Encryption |
clone() |
boolean |
equals(Object obj) |
String |
getEncryptionType()
The server-side encryption algorithm used when storing job results in Amazon S3, for example
AES256
or aws:kms. |
String |
getKMSContext()
Optional.
|
String |
getKMSKeyId()
The AWS KMS key ID to use for object encryption.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEncryptionType(String encryptionType)
The server-side encryption algorithm used when storing job results in Amazon S3, for example
AES256
or aws:kms. |
void |
setKMSContext(String kMSContext)
Optional.
|
void |
setKMSKeyId(String kMSKeyId)
The AWS KMS key ID to use for object encryption.
|
String |
toString()
Returns a string representation of this object.
|
Encryption |
withEncryptionType(EncryptionType encryptionType)
The server-side encryption algorithm used when storing job results in Amazon S3, for example
AES256
or aws:kms. |
Encryption |
withEncryptionType(String encryptionType)
The server-side encryption algorithm used when storing job results in Amazon S3, for example
AES256
or aws:kms. |
Encryption |
withKMSContext(String kMSContext)
Optional.
|
Encryption |
withKMSKeyId(String kMSKeyId)
The AWS KMS key ID to use for object encryption.
|
public void setEncryptionType(String encryptionType)
The server-side encryption algorithm used when storing job results in Amazon S3, for example AES256
or aws:kms.
encryptionType - The server-side encryption algorithm used when storing job results in Amazon S3, for example
AES256 or aws:kms.EncryptionTypepublic String getEncryptionType()
The server-side encryption algorithm used when storing job results in Amazon S3, for example AES256
or aws:kms.
AES256 or aws:kms.EncryptionTypepublic Encryption withEncryptionType(String encryptionType)
The server-side encryption algorithm used when storing job results in Amazon S3, for example AES256
or aws:kms.
encryptionType - The server-side encryption algorithm used when storing job results in Amazon S3, for example
AES256 or aws:kms.EncryptionTypepublic Encryption withEncryptionType(EncryptionType encryptionType)
The server-side encryption algorithm used when storing job results in Amazon S3, for example AES256
or aws:kms.
encryptionType - The server-side encryption algorithm used when storing job results in Amazon S3, for example
AES256 or aws:kms.EncryptionTypepublic void setKMSKeyId(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.
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.public String getKMSKeyId()
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.
public Encryption withKMSKeyId(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.
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.public void setKMSContext(String kMSContext)
Optional. If the encryption type is aws:kms, you can use this value to specify the encryption
context for the job results.
kMSContext - Optional. If the encryption type is aws:kms, you can use this value to specify the encryption
context for the job results.public String getKMSContext()
Optional. If the encryption type is aws:kms, you can use this value to specify the encryption
context for the job results.
aws:kms, you can use this value to specify the
encryption context for the job results.public Encryption withKMSContext(String kMSContext)
Optional. If the encryption type is aws:kms, you can use this value to specify the encryption
context for the job results.
kMSContext - Optional. If the encryption type is aws:kms, you can use this value to specify the encryption
context for the job results.public String toString()
toString in class ObjectObject.toString()public Encryption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.