Class EventRiskType
- java.lang.Object
-
- software.amazon.awssdk.services.cognitoidentityprovider.model.EventRiskType
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EventRiskType.Builder,EventRiskType>
@Generated("software.amazon.awssdk:codegen") public final class EventRiskType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventRiskType.Builder,EventRiskType>
The risk evaluation by adaptive authentication, as displayed in an AdminListUserAuthEvents response. Contains evaluations of compromised-credentials detection and assessed risk level and action taken by adaptive authentication.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEventRiskType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EventRiskType.Builderbuilder()BooleancompromisedCredentialsDetected()Indicates whether compromised credentials were detected during an authentication event.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()RiskDecisionTyperiskDecision()The action taken by adaptive authentication.StringriskDecisionAsString()The action taken by adaptive authentication.RiskLevelTyperiskLevel()The risk level that adaptive authentication assessed for the authentication event.StringriskLevelAsString()The risk level that adaptive authentication assessed for the authentication event.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends EventRiskType.Builder>serializableBuilderClass()EventRiskType.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
-
riskDecision
public final RiskDecisionType riskDecision()
The action taken by adaptive authentication. If
NoRisk, your user pool took no action. IfAccountTakeover, your user pool applied the adaptive authentication automated response that you configured. IfBlock, your user pool prevented the attempt.If the service returns an enum value that is not available in the current SDK version,
riskDecisionwill returnRiskDecisionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromriskDecisionAsString().- Returns:
- The action taken by adaptive authentication. If
NoRisk, your user pool took no action. IfAccountTakeover, your user pool applied the adaptive authentication automated response that you configured. IfBlock, your user pool prevented the attempt. - See Also:
RiskDecisionType
-
riskDecisionAsString
public final String riskDecisionAsString()
The action taken by adaptive authentication. If
NoRisk, your user pool took no action. IfAccountTakeover, your user pool applied the adaptive authentication automated response that you configured. IfBlock, your user pool prevented the attempt.If the service returns an enum value that is not available in the current SDK version,
riskDecisionwill returnRiskDecisionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromriskDecisionAsString().- Returns:
- The action taken by adaptive authentication. If
NoRisk, your user pool took no action. IfAccountTakeover, your user pool applied the adaptive authentication automated response that you configured. IfBlock, your user pool prevented the attempt. - See Also:
RiskDecisionType
-
riskLevel
public final RiskLevelType riskLevel()
The risk level that adaptive authentication assessed for the authentication event.
If the service returns an enum value that is not available in the current SDK version,
riskLevelwill returnRiskLevelType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromriskLevelAsString().- Returns:
- The risk level that adaptive authentication assessed for the authentication event.
- See Also:
RiskLevelType
-
riskLevelAsString
public final String riskLevelAsString()
The risk level that adaptive authentication assessed for the authentication event.
If the service returns an enum value that is not available in the current SDK version,
riskLevelwill returnRiskLevelType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromriskLevelAsString().- Returns:
- The risk level that adaptive authentication assessed for the authentication event.
- See Also:
RiskLevelType
-
compromisedCredentialsDetected
public final Boolean compromisedCredentialsDetected()
Indicates whether compromised credentials were detected during an authentication event.
- Returns:
- Indicates whether compromised credentials were detected during an authentication event.
-
toBuilder
public EventRiskType.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EventRiskType.Builder,EventRiskType>
-
builder
public static EventRiskType.Builder builder()
-
serializableBuilderClass
public static Class<? extends EventRiskType.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
-
-