Class KmsEncryptionConfig
- java.lang.Object
-
- software.amazon.awssdk.services.healthlake.model.KmsEncryptionConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<KmsEncryptionConfig.Builder,KmsEncryptionConfig>
@Generated("software.amazon.awssdk:codegen") public final class KmsEncryptionConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<KmsEncryptionConfig.Builder,KmsEncryptionConfig>
The customer-managed-key(CMK) used when creating a data store. If a customer owned key is not specified, an AWS owned key will be used for encryption.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceKmsEncryptionConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KmsEncryptionConfig.Builderbuilder()CmkTypecmkType()The type of customer-managed-key(CMK) used for encryption.StringcmkTypeAsString()The type of customer-managed-key(CMK) used for encryption.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkmsKeyId()The KMS encryption key id/alias used to encrypt the data store contents at rest.List<SdkField<?>>sdkFields()static Class<? extends KmsEncryptionConfig.Builder>serializableBuilderClass()KmsEncryptionConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
cmkType
public final CmkType cmkType()
The type of customer-managed-key(CMK) used for encryption. The two types of supported CMKs are customer owned CMKs and AWS owned CMKs.
If the service returns an enum value that is not available in the current SDK version,
cmkTypewill returnCmkType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcmkTypeAsString().- Returns:
- The type of customer-managed-key(CMK) used for encryption. The two types of supported CMKs are customer owned CMKs and AWS owned CMKs.
- See Also:
CmkType
-
cmkTypeAsString
public final String cmkTypeAsString()
The type of customer-managed-key(CMK) used for encryption. The two types of supported CMKs are customer owned CMKs and AWS owned CMKs.
If the service returns an enum value that is not available in the current SDK version,
cmkTypewill returnCmkType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcmkTypeAsString().- Returns:
- The type of customer-managed-key(CMK) used for encryption. The two types of supported CMKs are customer owned CMKs and AWS owned CMKs.
- See Also:
CmkType
-
kmsKeyId
public final String kmsKeyId()
The KMS encryption key id/alias used to encrypt the data store contents at rest.
- Returns:
- The KMS encryption key id/alias used to encrypt the data store contents at rest.
-
toBuilder
public KmsEncryptionConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<KmsEncryptionConfig.Builder,KmsEncryptionConfig>
-
builder
public static KmsEncryptionConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends KmsEncryptionConfig.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.
-
-