Class EventContextDataType
java.lang.Object
software.amazon.awssdk.services.cognitoidentityprovider.model.EventContextDataType
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EventContextDataType.Builder,EventContextDataType>
@Generated("software.amazon.awssdk:codegen")
public final class EventContextDataType
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<EventContextDataType.Builder,EventContextDataType>
The context data that your application submitted in an authentication request with threat protection, as displayed in
an AdminListUserAuthEvents response.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic EventContextDataType.Builderbuilder()final Stringcity()The user's city.final Stringcountry()The user's country.final StringThe user's device name.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe source IP address of your user's device.static Class<? extends EventContextDataType.Builder>final Stringtimezone()The user's time zone.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
-
ipAddress
The source IP address of your user's device.
- Returns:
- The source IP address of your user's device.
-
deviceName
The user's device name.
- Returns:
- The user's device name.
-
timezone
The user's time zone.
- Returns:
- The user's time zone.
-
city
The user's city.
- Returns:
- The user's city.
-
country
The user's country.
- Returns:
- The user's country.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<EventContextDataType.Builder,EventContextDataType>
-
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
-