@Generated(value="software.amazon.awssdk:codegen") public final class EncryptionConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EncryptionConfig.Builder,EncryptionConfig>
A configuration document that specifies encryption configuration settings.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EncryptionConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EncryptionConfig.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 KMS key used for encryption, if applicable.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EncryptionConfig.Builder> |
serializableBuilderClass() |
EncryptionStatus |
status()
The encryption status.
|
String |
statusAsString()
The encryption status.
|
EncryptionConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
EncryptionType |
type()
The type of encryption.
|
String |
typeAsString()
The type of encryption.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String keyId()
The ID of the KMS key used for encryption, if applicable.
public final EncryptionStatus status()
The encryption status. While the status is UPDATING, X-Ray may encrypt data with a combination of
the new and old settings.
If the service returns an enum value that is not available in the current SDK version, status will
return EncryptionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
UPDATING, X-Ray may encrypt data with a
combination of the new and old settings.EncryptionStatuspublic final String statusAsString()
The encryption status. While the status is UPDATING, X-Ray may encrypt data with a combination of
the new and old settings.
If the service returns an enum value that is not available in the current SDK version, status will
return EncryptionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
UPDATING, X-Ray may encrypt data with a
combination of the new and old settings.EncryptionStatuspublic final EncryptionType type()
The type of encryption. Set to KMS for encryption with KMS keys. Set to NONE for
default encryption.
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().
KMS for encryption with KMS keys. Set to NONE
for default encryption.EncryptionTypepublic final String typeAsString()
The type of encryption. Set to KMS for encryption with KMS keys. Set to NONE for
default encryption.
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().
KMS for encryption with KMS keys. Set to NONE
for default encryption.EncryptionTypepublic EncryptionConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EncryptionConfig.Builder,EncryptionConfig>public static EncryptionConfig.Builder builder()
public static Class<? extends EncryptionConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.