@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EncryptionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
If query results are encrypted in Amazon S3, indicates the encryption option used (for example, SSE-KMS
or CSE-KMS
) and key information.
Constructor and Description |
---|
EncryptionConfiguration() |
Modifier and Type | Method and Description |
---|---|
EncryptionConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getEncryptionOption()
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (
SSE-S3 ), server-side
encryption with KMS-managed keys (SSE-KMS ), or client-side encryption with KMS-managed keys
(CSE-KMS) is used. |
String |
getKmsKey()
For
SSE-KMS and CSE-KMS , this is the KMS key ARN or ID. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEncryptionOption(EncryptionOption encryptionOption)
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (
SSE-S3 ), server-side
encryption with KMS-managed keys (SSE-KMS ), or client-side encryption with KMS-managed keys
(CSE-KMS) is used. |
void |
setEncryptionOption(String encryptionOption)
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (
SSE-S3 ), server-side
encryption with KMS-managed keys (SSE-KMS ), or client-side encryption with KMS-managed keys
(CSE-KMS) is used. |
void |
setKmsKey(String kmsKey)
For
SSE-KMS and CSE-KMS , this is the KMS key ARN or ID. |
String |
toString()
Returns a string representation of this object.
|
EncryptionConfiguration |
withEncryptionOption(EncryptionOption encryptionOption)
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (
SSE-S3 ), server-side
encryption with KMS-managed keys (SSE-KMS ), or client-side encryption with KMS-managed keys
(CSE-KMS) is used. |
EncryptionConfiguration |
withEncryptionOption(String encryptionOption)
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (
SSE-S3 ), server-side
encryption with KMS-managed keys (SSE-KMS ), or client-side encryption with KMS-managed keys
(CSE-KMS) is used. |
EncryptionConfiguration |
withKmsKey(String kmsKey)
For
SSE-KMS and CSE-KMS , this is the KMS key ARN or ID. |
public void setEncryptionOption(String encryptionOption)
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3
), server-side
encryption with KMS-managed keys (SSE-KMS
), or client-side encryption with KMS-managed keys
(CSE-KMS) is used.
If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.
encryptionOption
- Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3
),
server-side encryption with KMS-managed keys (SSE-KMS
), or client-side encryption with
KMS-managed keys (CSE-KMS) is used.
If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.
EncryptionOption
public String getEncryptionOption()
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3
), server-side
encryption with KMS-managed keys (SSE-KMS
), or client-side encryption with KMS-managed keys
(CSE-KMS) is used.
If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.
SSE-S3
),
server-side encryption with KMS-managed keys (SSE-KMS
), or client-side encryption with
KMS-managed keys (CSE-KMS) is used.
If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.
EncryptionOption
public EncryptionConfiguration withEncryptionOption(String encryptionOption)
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3
), server-side
encryption with KMS-managed keys (SSE-KMS
), or client-side encryption with KMS-managed keys
(CSE-KMS) is used.
If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.
encryptionOption
- Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3
),
server-side encryption with KMS-managed keys (SSE-KMS
), or client-side encryption with
KMS-managed keys (CSE-KMS) is used.
If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.
EncryptionOption
public void setEncryptionOption(EncryptionOption encryptionOption)
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3
), server-side
encryption with KMS-managed keys (SSE-KMS
), or client-side encryption with KMS-managed keys
(CSE-KMS) is used.
If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.
encryptionOption
- Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3
),
server-side encryption with KMS-managed keys (SSE-KMS
), or client-side encryption with
KMS-managed keys (CSE-KMS) is used.
If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.
EncryptionOption
public EncryptionConfiguration withEncryptionOption(EncryptionOption encryptionOption)
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3
), server-side
encryption with KMS-managed keys (SSE-KMS
), or client-side encryption with KMS-managed keys
(CSE-KMS) is used.
If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.
encryptionOption
- Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3
),
server-side encryption with KMS-managed keys (SSE-KMS
), or client-side encryption with
KMS-managed keys (CSE-KMS) is used.
If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.
EncryptionOption
public void setKmsKey(String kmsKey)
For SSE-KMS
and CSE-KMS
, this is the KMS key ARN or ID.
kmsKey
- For SSE-KMS
and CSE-KMS
, this is the KMS key ARN or ID.public String getKmsKey()
For SSE-KMS
and CSE-KMS
, this is the KMS key ARN or ID.
SSE-KMS
and CSE-KMS
, this is the KMS key ARN or ID.public EncryptionConfiguration withKmsKey(String kmsKey)
For SSE-KMS
and CSE-KMS
, this is the KMS key ARN or ID.
kmsKey
- For SSE-KMS
and CSE-KMS
, this is the KMS key ARN or ID.public String toString()
toString
in class Object
Object.toString()
public EncryptionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.