java.lang.Object
software.amazon.awssdk.services.cognitoidentityprovider.model.UserPoolAddOnsType
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<UserPoolAddOnsType.Builder,UserPoolAddOnsType>

@Generated("software.amazon.awssdk:codegen") public final class UserPoolAddOnsType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UserPoolAddOnsType.Builder,UserPoolAddOnsType>

Contains settings for activation of threat protection, including the operating mode and additional authentication types. To log user security information but take no action, set to AUDIT. To configure automatic security responses to potentially unwanted traffic to your user pool, set to ENFORCED.

For more information, see Adding advanced security to a user pool. To activate this setting, your user pool must be on the Plus tier.

See Also:
  • Method Details

    • advancedSecurityMode

      public final AdvancedSecurityModeType advancedSecurityMode()

      The operating mode of threat protection for standard authentication types in your user pool, including username-password and secure remote password (SRP) authentication.

      If the service returns an enum value that is not available in the current SDK version, advancedSecurityMode will return AdvancedSecurityModeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from advancedSecurityModeAsString().

      Returns:
      The operating mode of threat protection for standard authentication types in your user pool, including username-password and secure remote password (SRP) authentication.
      See Also:
    • advancedSecurityModeAsString

      public final String advancedSecurityModeAsString()

      The operating mode of threat protection for standard authentication types in your user pool, including username-password and secure remote password (SRP) authentication.

      If the service returns an enum value that is not available in the current SDK version, advancedSecurityMode will return AdvancedSecurityModeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from advancedSecurityModeAsString().

      Returns:
      The operating mode of threat protection for standard authentication types in your user pool, including username-password and secure remote password (SRP) authentication.
      See Also:
    • advancedSecurityAdditionalFlows

      public final AdvancedSecurityAdditionalFlowsType advancedSecurityAdditionalFlows()

      Threat protection configuration options for additional authentication types in your user pool, including custom authentication.

      Returns:
      Threat protection configuration options for additional authentication types in your user pool, including custom authentication.
    • toBuilder

      public UserPoolAddOnsType.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<UserPoolAddOnsType.Builder,UserPoolAddOnsType>
    • builder

      public static UserPoolAddOnsType.Builder builder()
    • serializableBuilderClass

      public static Class<? extends UserPoolAddOnsType.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo