@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExportServerSideEncryption extends Object implements Serializable, Cloneable, StructuredPojo
Encryption configuration of the export job. Includes the encryption type in addition to the AWS KMS key. The KMS key is only necessary if you chose the KMS encryption type.
Constructor and Description |
---|
ExportServerSideEncryption() |
Modifier and Type | Method and Description |
---|---|
ExportServerSideEncryption |
clone() |
boolean |
equals(Object obj) |
String |
getKmsKeyArn()
The Amazon Resource Name (ARN) of the AWS KMS key you want to use to encrypt the Amazon S3 objects.
|
String |
getType()
The type of server side encryption used for encrypting the objects in Amazon S3.
|
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 AWS KMS key you want to use to encrypt the Amazon S3 objects.
|
void |
setType(String type)
The type of server side encryption used for encrypting the objects in Amazon S3.
|
String |
toString()
Returns a string representation of this object.
|
ExportServerSideEncryption |
withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the AWS KMS key you want to use to encrypt the Amazon S3 objects.
|
ExportServerSideEncryption |
withType(ServerSideEncryptionTypes type)
The type of server side encryption used for encrypting the objects in Amazon S3.
|
ExportServerSideEncryption |
withType(String type)
The type of server side encryption used for encrypting the objects in Amazon S3.
|
public void setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the AWS KMS key you want to use to encrypt the Amazon S3 objects. This parameter is required if you choose aws:kms as an encryption type.
kmsKeyArn
- The Amazon Resource Name (ARN) of the AWS KMS key you want to use to encrypt the Amazon S3 objects. This
parameter is required if you choose aws:kms as an encryption type.public String getKmsKeyArn()
The Amazon Resource Name (ARN) of the AWS KMS key you want to use to encrypt the Amazon S3 objects. This parameter is required if you choose aws:kms as an encryption type.
public ExportServerSideEncryption withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the AWS KMS key you want to use to encrypt the Amazon S3 objects. This parameter is required if you choose aws:kms as an encryption type.
kmsKeyArn
- The Amazon Resource Name (ARN) of the AWS KMS key you want to use to encrypt the Amazon S3 objects. This
parameter is required if you choose aws:kms as an encryption type.public void setType(String type)
The type of server side encryption used for encrypting the objects in Amazon S3.
type
- The type of server side encryption used for encrypting the objects in Amazon S3.ServerSideEncryptionTypes
public String getType()
The type of server side encryption used for encrypting the objects in Amazon S3.
ServerSideEncryptionTypes
public ExportServerSideEncryption withType(String type)
The type of server side encryption used for encrypting the objects in Amazon S3.
type
- The type of server side encryption used for encrypting the objects in Amazon S3.ServerSideEncryptionTypes
public ExportServerSideEncryption withType(ServerSideEncryptionTypes type)
The type of server side encryption used for encrypting the objects in Amazon S3.
type
- The type of server side encryption used for encrypting the objects in Amazon S3.ServerSideEncryptionTypes
public String toString()
toString
in class Object
Object.toString()
public ExportServerSideEncryption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.