@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
.EncryptionType
public 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
.EncryptionType
public 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
.EncryptionType
public 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
.EncryptionType
public 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 Object
Object.toString()
public Encryption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.