@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Encryption extends Object implements Serializable, Cloneable, StructuredPojo
Specifies how Amazon Simple Storage Service (Amazon S3) data should be encrypted.
Constructor and Description |
---|
S3Encryption() |
Modifier and Type | Method and Description |
---|---|
S3Encryption |
clone() |
boolean |
equals(Object obj) |
String |
getKmsKeyArn()
The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
|
String |
getS3EncryptionMode()
The encryption mode to use for Amazon S3 data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
|
void |
setS3EncryptionMode(String s3EncryptionMode)
The encryption mode to use for Amazon S3 data.
|
String |
toString()
Returns a string representation of this object.
|
S3Encryption |
withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
|
S3Encryption |
withS3EncryptionMode(S3EncryptionMode s3EncryptionMode)
The encryption mode to use for Amazon S3 data.
|
S3Encryption |
withS3EncryptionMode(String s3EncryptionMode)
The encryption mode to use for Amazon S3 data.
|
public void setS3EncryptionMode(String s3EncryptionMode)
The encryption mode to use for Amazon S3 data.
s3EncryptionMode
- The encryption mode to use for Amazon S3 data.S3EncryptionMode
public String getS3EncryptionMode()
The encryption mode to use for Amazon S3 data.
S3EncryptionMode
public S3Encryption withS3EncryptionMode(String s3EncryptionMode)
The encryption mode to use for Amazon S3 data.
s3EncryptionMode
- The encryption mode to use for Amazon S3 data.S3EncryptionMode
public S3Encryption withS3EncryptionMode(S3EncryptionMode s3EncryptionMode)
The encryption mode to use for Amazon S3 data.
s3EncryptionMode
- The encryption mode to use for Amazon S3 data.S3EncryptionMode
public void setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
kmsKeyArn
- The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.public String getKmsKeyArn()
The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
public S3Encryption withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
kmsKeyArn
- The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.public String toString()
toString
in class Object
Object.toString()
public S3Encryption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.