@Generated(value="software.amazon.awssdk:codegen") public final class SignUpRequest extends CognitoIdentityProviderRequest implements ToCopyableBuilder<SignUpRequest.Builder,SignUpRequest>
Represents the request to register a user.
Modifier and Type | Class and Description |
---|---|
static interface |
SignUpRequest.Builder |
Modifier and Type | Method and Description |
---|---|
AnalyticsMetadataType |
analyticsMetadata()
The Amazon Pinpoint analytics metadata for collecting metrics for
SignUp calls. |
static SignUpRequest.Builder |
builder() |
String |
clientId()
The ID of the client associated with the user pool.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
password()
The password of the user you wish to register.
|
List<SdkField<?>> |
sdkFields() |
String |
secretHash()
A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and
username plus the client ID in the message.
|
static Class<? extends SignUpRequest.Builder> |
serializableBuilderClass() |
SignUpRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<AttributeType> |
userAttributes()
An array of name-value pairs representing user attributes.
|
UserContextDataType |
userContextData()
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an
unexpected event by Amazon Cognito advanced security.
|
String |
username()
The user name of the user you wish to register.
|
List<AttributeType> |
validationData()
The validation data in the request to register a user.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String clientId()
The ID of the client associated with the user pool.
public String secretHash()
A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.
public String username()
The user name of the user you wish to register.
public String password()
The password of the user you wish to register.
public List<AttributeType> userAttributes()
An array of name-value pairs representing user attributes.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
public List<AttributeType> validationData()
The validation data in the request to register a user.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public AnalyticsMetadataType analyticsMetadata()
The Amazon Pinpoint analytics metadata for collecting metrics for SignUp
calls.
SignUp
calls.public UserContextDataType userContextData()
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
public SignUpRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<SignUpRequest.Builder,SignUpRequest>
toBuilder
in class CognitoIdentityProviderRequest
public static SignUpRequest.Builder builder()
public static Class<? extends SignUpRequest.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2019. All rights reserved.