@Generated(value="software.amazon.awssdk:codegen") public final class EncryptionConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EncryptionConfiguration.Builder,EncryptionConfiguration>
A complex type that contains optional Amazon Web Services Key Management Service (KMS) encryption settings for your Network Firewall resources. Your data is encrypted by default with an Amazon Web Services owned key that Amazon Web Services owns and manages for you. You can use either the Amazon Web Services owned key, or provide your own customer managed key. To learn more about KMS encryption of your Network Firewall resources, see Encryption at rest with Amazon Web Services Key Managment Service in the Network Firewall Developer Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EncryptionConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EncryptionConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
keyId()
The ID of the Amazon Web Services Key Management Service (KMS) customer managed key.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EncryptionConfiguration.Builder> |
serializableBuilderClass() |
EncryptionConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
EncryptionType |
type()
The type of Amazon Web Services KMS key to use for encryption of your Network Firewall resources.
|
String |
typeAsString()
The type of Amazon Web Services KMS key to use for encryption of your Network Firewall resources.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String keyId()
The ID of the Amazon Web Services Key Management Service (KMS) customer managed key. You can use any of the key identifiers that KMS supports, unless you're using a key that's managed by another account. If you're using a key managed by another account, then specify the key ARN. For more information, see Key ID in the Amazon Web Services KMS Developer Guide.
public final EncryptionType type()
The type of Amazon Web Services KMS key to use for encryption of your Network Firewall resources.
If the service returns an enum value that is not available in the current SDK version, type will return
EncryptionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
EncryptionTypepublic final String typeAsString()
The type of Amazon Web Services KMS key to use for encryption of your Network Firewall resources.
If the service returns an enum value that is not available in the current SDK version, type will return
EncryptionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
EncryptionTypepublic 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.