Class RiskConfigurationType
- 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 advanced security features in a user pool.
This data type is a response parameter of DescribeRiskConfiguration and SetRiskConfiguration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRiskConfigurationType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountTakeoverRiskConfigurationTypeaccountTakeoverRiskConfiguration()The settings for automated responses and notification templates for adaptive authentication with advanced security features.static RiskConfigurationType.Builderbuilder()StringclientId()The app client where this configuration is applied.CompromisedCredentialsRiskConfigurationTypecompromisedCredentialsRiskConfiguration()Settings for compromised-credentials actions and authentication types with advanced security features in full-functionENFORCEDmode.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastModifiedDate()The date and time when the item was modified.RiskExceptionConfigurationTyperiskExceptionConfiguration()Exceptions to the risk evaluation configuration, including always-allow and always-block IP address ranges.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RiskConfigurationType.Builder>serializableBuilderClass()RiskConfigurationType.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuserPoolId()The ID of the user pool that has the risk configuration applied.-
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
-
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 advanced security features in full-function
ENFORCEDmode.- Returns:
- Settings for compromised-credentials actions and authentication types with advanced security features in
full-function
ENFORCEDmode.
-
accountTakeoverRiskConfiguration
public final AccountTakeoverRiskConfigurationType accountTakeoverRiskConfiguration()
The settings for automated responses and notification templates for adaptive authentication with advanced security features.
- Returns:
- The settings for automated responses and notification templates for adaptive authentication with advanced security features.
-
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
Dateobject.- 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
Dateobject.
-
toBuilder
public RiskConfigurationType.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RiskConfigurationType.Builder,RiskConfigurationType>
-
builder
public static RiskConfigurationType.Builder builder()
-
serializableBuilderClass
public static Class<? extends RiskConfigurationType.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
-
-