Class NewDeviceMetadataType
java.lang.Object
software.amazon.awssdk.services.cognitoidentityprovider.model.NewDeviceMetadataType
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NewDeviceMetadataType.Builder,NewDeviceMetadataType>
@Generated("software.amazon.awssdk:codegen")
public final class NewDeviceMetadataType
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<NewDeviceMetadataType.Builder,NewDeviceMetadataType>
Information that your user pool responds with in AuthenticationResultwhen you configure it to remember
devices and a user signs in with an unrecognized device. Amazon Cognito presents a new device key that you can use to
set up device authentication in a "Remember me on this device" authentication model.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe device group key, an identifier used in generating theDEVICE_PASSWORD_VERIFIERfor device SRP authentication.final StringThe device key, an identifier used in generating theDEVICE_PASSWORD_VERIFIERfor device SRP authentication.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends NewDeviceMetadataType.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
-
deviceKey
The device key, an identifier used in generating the
DEVICE_PASSWORD_VERIFIERfor device SRP authentication.- Returns:
- The device key, an identifier used in generating the
DEVICE_PASSWORD_VERIFIERfor device SRP authentication.
-
deviceGroupKey
The device group key, an identifier used in generating the
DEVICE_PASSWORD_VERIFIERfor device SRP authentication.- Returns:
- The device group key, an identifier used in generating the
DEVICE_PASSWORD_VERIFIERfor device SRP authentication.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<NewDeviceMetadataType.Builder,NewDeviceMetadataType>
-
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
-