Class EncryptionConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.ssoadmin.model.EncryptionConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EncryptionConfiguration.Builder,EncryptionConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class EncryptionConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EncryptionConfiguration.Builder,EncryptionConfiguration>
A structure that specifies the KMS key type and KMS key ARN used to encrypt data in your IAM Identity Center instance.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEncryptionConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EncryptionConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()KmsKeyTypekeyType()The type of KMS key used for encryption.StringkeyTypeAsString()The type of KMS key used for encryption.StringkmsKeyArn()The ARN of the KMS key used to encrypt data.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends EncryptionConfiguration.Builder>serializableBuilderClass()EncryptionConfiguration.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
-
keyType
public final KmsKeyType keyType()
The type of KMS key used for encryption.
If the service returns an enum value that is not available in the current SDK version,
keyTypewill returnKmsKeyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyTypeAsString().- Returns:
- The type of KMS key used for encryption.
- See Also:
KmsKeyType
-
keyTypeAsString
public final String keyTypeAsString()
The type of KMS key used for encryption.
If the service returns an enum value that is not available in the current SDK version,
keyTypewill returnKmsKeyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyTypeAsString().- Returns:
- The type of KMS key used for encryption.
- See Also:
KmsKeyType
-
kmsKeyArn
public final String kmsKeyArn()
The ARN of the KMS key used to encrypt data. Required when KeyType is CUSTOMER_MANAGED_KEY. Cannot be specified when KeyType is AWS_OWNED_KMS_KEY.
- Returns:
- The ARN of the KMS key used to encrypt data. Required when KeyType is CUSTOMER_MANAGED_KEY. Cannot be specified when KeyType is AWS_OWNED_KMS_KEY.
-
toBuilder
public EncryptionConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EncryptionConfiguration.Builder,EncryptionConfiguration>
-
builder
public static EncryptionConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends EncryptionConfiguration.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
-
-