Class KeyConfigurationType
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<KeyConfigurationType.Builder,KeyConfigurationType>
Specifies the key configuration for a user pool. Contains settings for encryption keys used to secure user pool data.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyConfigurationType.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final EncryptionKeyTypekeyType()The type of encryption key used for the user pool.final StringThe type of encryption key used for the user pool.final StringThe Amazon Resource Name (ARN) of the KMS key used for encryption.static Class<? extends KeyConfigurationType.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
keyType
The type of encryption key used for the user pool.
- AWS_OWNED_KEY
-
A key owned by Amazon Web Services in Key Management Service.
- CUSTOMER_MANAGED_KEY
-
A key managed by the customer in Key Management Service. You must use a multi-region key to enable multi-region replication for a user pool.
If the service returns an enum value that is not available in the current SDK version,
keyTypewill returnEncryptionKeyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyTypeAsString().- Returns:
- The type of encryption key used for the user pool.
- AWS_OWNED_KEY
-
A key owned by Amazon Web Services in Key Management Service.
- CUSTOMER_MANAGED_KEY
-
A key managed by the customer in Key Management Service. You must use a multi-region key to enable multi-region replication for a user pool.
- See Also:
-
keyTypeAsString
The type of encryption key used for the user pool.
- AWS_OWNED_KEY
-
A key owned by Amazon Web Services in Key Management Service.
- CUSTOMER_MANAGED_KEY
-
A key managed by the customer in Key Management Service. You must use a multi-region key to enable multi-region replication for a user pool.
If the service returns an enum value that is not available in the current SDK version,
keyTypewill returnEncryptionKeyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromkeyTypeAsString().- Returns:
- The type of encryption key used for the user pool.
- AWS_OWNED_KEY
-
A key owned by Amazon Web Services in Key Management Service.
- CUSTOMER_MANAGED_KEY
-
A key managed by the customer in Key Management Service. You must use a multi-region key to enable multi-region replication for a user pool.
- See Also:
-
kmsKeyArn
The Amazon Resource Name (ARN) of the KMS key used for encryption. If not specified, Amazon Web Services managed keys are used.
- Returns:
- The Amazon Resource Name (ARN) of the KMS key used for encryption. If not specified, Amazon Web Services managed keys are used.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<KeyConfigurationType.Builder,KeyConfigurationType>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-