Class EventRiskType
- All Implemented Interfaces:
Serializable,SdkPojo,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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic EventRiskType.Builderbuilder()final BooleanIndicates whether compromised credentials were detected during an authentication event.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final RiskDecisionTypeThe action taken by adaptive authentication.final StringThe action taken by adaptive authentication.final RiskLevelTypeThe risk level that adaptive authentication assessed for the authentication event.final StringThe risk level that adaptive authentication assessed for the authentication event.static Class<? extends EventRiskType.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
-
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:
-
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:
-
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:
-
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:
-
compromisedCredentialsDetected
Indicates whether compromised credentials were detected during an authentication event.
- Returns:
- Indicates whether compromised credentials were detected during an authentication event.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<EventRiskType.Builder,EventRiskType>
-
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
-