@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3EncryptionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The encryption settings that are used by a journal export job to write data in an Amazon Simple Storage Service (Amazon S3) bucket.
| Constructor and Description |
|---|
S3EncryptionConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
S3EncryptionConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getKmsKeyArn()
The Amazon Resource Name (ARN) of a symmetric encryption key in Key Management Service (KMS).
|
String |
getObjectEncryptionType()
The Amazon S3 object encryption type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of a symmetric encryption key in Key Management Service (KMS).
|
void |
setObjectEncryptionType(String objectEncryptionType)
The Amazon S3 object encryption type.
|
String |
toString()
Returns a string representation of this object.
|
S3EncryptionConfiguration |
withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of a symmetric encryption key in Key Management Service (KMS).
|
S3EncryptionConfiguration |
withObjectEncryptionType(S3ObjectEncryptionType objectEncryptionType)
The Amazon S3 object encryption type.
|
S3EncryptionConfiguration |
withObjectEncryptionType(String objectEncryptionType)
The Amazon S3 object encryption type.
|
public void setObjectEncryptionType(String objectEncryptionType)
The Amazon S3 object encryption type.
To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.
objectEncryptionType - The Amazon S3 object encryption type.
To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.
S3ObjectEncryptionTypepublic String getObjectEncryptionType()
The Amazon S3 object encryption type.
To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.
To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.
S3ObjectEncryptionTypepublic S3EncryptionConfiguration withObjectEncryptionType(String objectEncryptionType)
The Amazon S3 object encryption type.
To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.
objectEncryptionType - The Amazon S3 object encryption type.
To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.
S3ObjectEncryptionTypepublic S3EncryptionConfiguration withObjectEncryptionType(S3ObjectEncryptionType objectEncryptionType)
The Amazon S3 object encryption type.
To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.
objectEncryptionType - The Amazon S3 object encryption type.
To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.
S3ObjectEncryptionTypepublic void setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of a symmetric encryption key in Key Management Service (KMS). Amazon S3 does not support asymmetric KMS keys.
You must provide a KmsKeyArn if you specify SSE_KMS as the
ObjectEncryptionType.
KmsKeyArn is not required if you specify SSE_S3 as the
ObjectEncryptionType.
kmsKeyArn - The Amazon Resource Name (ARN) of a symmetric encryption key in Key Management Service (KMS). Amazon S3
does not support asymmetric KMS keys.
You must provide a KmsKeyArn if you specify SSE_KMS as the
ObjectEncryptionType.
KmsKeyArn is not required if you specify SSE_S3 as the
ObjectEncryptionType.
public String getKmsKeyArn()
The Amazon Resource Name (ARN) of a symmetric encryption key in Key Management Service (KMS). Amazon S3 does not support asymmetric KMS keys.
You must provide a KmsKeyArn if you specify SSE_KMS as the
ObjectEncryptionType.
KmsKeyArn is not required if you specify SSE_S3 as the
ObjectEncryptionType.
You must provide a KmsKeyArn if you specify SSE_KMS as the
ObjectEncryptionType.
KmsKeyArn is not required if you specify SSE_S3 as the
ObjectEncryptionType.
public S3EncryptionConfiguration withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of a symmetric encryption key in Key Management Service (KMS). Amazon S3 does not support asymmetric KMS keys.
You must provide a KmsKeyArn if you specify SSE_KMS as the
ObjectEncryptionType.
KmsKeyArn is not required if you specify SSE_S3 as the
ObjectEncryptionType.
kmsKeyArn - The Amazon Resource Name (ARN) of a symmetric encryption key in Key Management Service (KMS). Amazon S3
does not support asymmetric KMS keys.
You must provide a KmsKeyArn if you specify SSE_KMS as the
ObjectEncryptionType.
KmsKeyArn is not required if you specify SSE_S3 as the
ObjectEncryptionType.
public String toString()
toString in class ObjectObject.toString()public S3EncryptionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.