Class EncryptionConfig
- java.lang.Object
-
- software.amazon.awssdk.services.xray.model.EncryptionConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EncryptionConfig.Builder,EncryptionConfig>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEncryptionConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EncryptionConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkeyId()The ID of the KMS key used for encryption, if applicable.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends EncryptionConfig.Builder>serializableBuilderClass()EncryptionStatusstatus()The encryption status.StringstatusAsString()The encryption status.EncryptionConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.EncryptionTypetype()The type of encryption.StringtypeAsString()The type of encryption.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
keyId
public final String keyId()
The ID of the KMS key used for encryption, if applicable.
- Returns:
- The ID of the KMS key used for encryption, if applicable.
-
status
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,
statuswill returnEncryptionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The encryption status. While the status is
UPDATING, X-Ray may encrypt data with a combination of the new and old settings. - See Also:
EncryptionStatus
-
statusAsString
public 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,
statuswill returnEncryptionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The encryption status. While the status is
UPDATING, X-Ray may encrypt data with a combination of the new and old settings. - See Also:
EncryptionStatus
-
type
public final EncryptionType type()
The type of encryption. Set to
KMSfor encryption with KMS keys. Set toNONEfor default encryption.If the service returns an enum value that is not available in the current SDK version,
typewill returnEncryptionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of encryption. Set to
KMSfor encryption with KMS keys. Set toNONEfor default encryption. - See Also:
EncryptionType
-
typeAsString
public final String typeAsString()
The type of encryption. Set to
KMSfor encryption with KMS keys. Set toNONEfor default encryption.If the service returns an enum value that is not available in the current SDK version,
typewill returnEncryptionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of encryption. Set to
KMSfor encryption with KMS keys. Set toNONEfor default encryption. - See Also:
EncryptionType
-
toBuilder
public EncryptionConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EncryptionConfig.Builder,EncryptionConfig>
-
builder
public static EncryptionConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends EncryptionConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-