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

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

The settings of risk configuration for threat protection with threat protection in a user pool.

See Also:
  • Method Details

    • userPoolId

      public final String userPoolId()

      The ID of the user pool that has the risk configuration applied.

      Returns:
      The ID of the user pool that has the risk configuration applied.
    • clientId

      public final String clientId()

      The app client where this configuration is applied. When this parameter isn't present, the risk configuration applies to all user pool app clients that don't have client-level settings.

      Returns:
      The app client where this configuration is applied. When this parameter isn't present, the risk configuration applies to all user pool app clients that don't have client-level settings.
    • compromisedCredentialsRiskConfiguration

      public final CompromisedCredentialsRiskConfigurationType compromisedCredentialsRiskConfiguration()

      Settings for compromised-credentials actions and authentication types with threat protection in full-function ENFORCED mode.

      Returns:
      Settings for compromised-credentials actions and authentication types with threat protection in full-function ENFORCED mode.
    • accountTakeoverRiskConfiguration

      public final AccountTakeoverRiskConfigurationType accountTakeoverRiskConfiguration()

      The settings for automated responses and notification templates for adaptive authentication with threat protection.

      Returns:
      The settings for automated responses and notification templates for adaptive authentication with threat protection.
    • riskExceptionConfiguration

      public final RiskExceptionConfigurationType riskExceptionConfiguration()

      Exceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges.

      Returns:
      Exceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges.
    • lastModifiedDate

      public final Instant lastModifiedDate()

      The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.

      Returns:
      The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java Date object.
    • toBuilder

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

      public static RiskConfigurationType.Builder builder()
    • serializableBuilderClass

      public static Class<? extends RiskConfigurationType.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