@Generated(value="software.amazon.awssdk:codegen") public final class EncryptionConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EncryptionConfiguration.Builder,EncryptionConfiguration>
[Event-based policies only] Specifies the encryption settings for cross-Region snapshot copies created by event-based policies.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EncryptionConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EncryptionConfiguration.Builder |
builder() |
String |
cmkArn()
The Amazon Resource Name (ARN) of the KMS key to use for EBS encryption.
|
Boolean |
encrypted()
To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using
this parameter.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends EncryptionConfiguration.Builder> |
serializableBuilderClass() |
EncryptionConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean encrypted()
To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this parameter is false or when encryption by default is not enabled.
public final String cmkArn()
The Amazon Resource Name (ARN) of the KMS key to use for EBS encryption. If this parameter is not specified, the default KMS key for the account is used.
public EncryptionConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EncryptionConfiguration.Builder,EncryptionConfiguration>public static EncryptionConfiguration.Builder builder()
public static Class<? extends EncryptionConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.