@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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
keyId()
The ID of the customer master key (CMK) 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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
EncryptionType |
type()
The type of encryption.
|
String |
typeAsString()
The type of encryption.
|
copy
public String keyId()
The ID of the customer master key (CMK) used for encryption, if applicable.
public 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.EncryptionStatus
public 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.EncryptionStatus
public EncryptionType type()
The type of encryption. Set to KMS
for encryption with CMKs. 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 CMKs. Set to NONE
for
default encryption.EncryptionType
public String typeAsString()
The type of encryption. Set to KMS
for encryption with CMKs. 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 CMKs. Set to NONE
for
default encryption.EncryptionType
public EncryptionConfig.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EncryptionConfig.Builder,EncryptionConfig>
public static EncryptionConfig.Builder builder()
public static Class<? extends EncryptionConfig.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.