public class SignUpRequest extends AmazonWebServiceRequest implements Serializable
Registers the user in the specified user pool and creates a user name, password, and user attributes.
| Constructor and Description |
|---|
SignUpRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AnalyticsMetadataType |
getAnalyticsMetadata()
The pinpoint installation id.
|
String |
getClientId()
The ID of the client associated with the user pool.
|
String |
getPassword()
The password of the user you wish to register.
|
String |
getSecretHash()
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.
|
List<AttributeType> |
getUserAttributes()
An array of name-value pairs representing user attributes.
|
UserContextDataType |
getUserContextData()
Base64 encoded string for user context data collected for risk evaluation
|
String |
getUsername()
The user name of the user you wish to register.
|
List<AttributeType> |
getValidationData()
The validation data in the request to register a user.
|
int |
hashCode() |
void |
setAnalyticsMetadata(AnalyticsMetadataType analyticsMetadata)
The pinpoint installation id.
|
void |
setClientId(String clientId)
The ID of the client associated with the user pool.
|
void |
setPassword(String password)
The password of the user you wish to register.
|
void |
setSecretHash(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.
|
void |
setUserAttributes(Collection<AttributeType> userAttributes)
An array of name-value pairs representing user attributes.
|
void |
setUserContextData(UserContextDataType userContextData)
Base64 encoded string for user context data collected for risk evaluation
|
void |
setUsername(String username)
The user name of the user you wish to register.
|
void |
setValidationData(Collection<AttributeType> validationData)
The validation data in the request to register a user.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SignUpRequest |
withAnalyticsMetadata(AnalyticsMetadataType analyticsMetadata)
The pinpoint installation id.
|
SignUpRequest |
withClientId(String clientId)
The ID of the client associated with the user pool.
|
SignUpRequest |
withPassword(String password)
The password of the user you wish to register.
|
SignUpRequest |
withSecretHash(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.
|
SignUpRequest |
withUserAttributes(AttributeType... userAttributes)
An array of name-value pairs representing user attributes.
|
SignUpRequest |
withUserAttributes(Collection<AttributeType> userAttributes)
An array of name-value pairs representing user attributes.
|
SignUpRequest |
withUserContextData(UserContextDataType userContextData)
Base64 encoded string for user context data collected for risk evaluation
|
SignUpRequest |
withUsername(String username)
The user name of the user you wish to register.
|
SignUpRequest |
withValidationData(AttributeType... validationData)
The validation data in the request to register a user.
|
SignUpRequest |
withValidationData(Collection<AttributeType> validationData)
The validation data in the request to register a user.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getClientId()
The ID of the client associated with the user pool.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
The ID of the client associated with the user pool.
public void setClientId(String clientId)
The ID of the client associated with the user pool.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
clientId - The ID of the client associated with the user pool.
public SignUpRequest withClientId(String clientId)
The ID of the client associated with the user pool.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
clientId - The ID of the client associated with the user pool.
public String getSecretHash()
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.
Constraints:
Length: 1 - 128
Pattern: [\w+=/]+
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 void setSecretHash(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.
Constraints:
Length: 1 - 128
Pattern: [\w+=/]+
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 SignUpRequest withSecretHash(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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=/]+
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 getUsername()
The user name of the user you wish to register.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The user name of the user you wish to register.
public void setUsername(String username)
The user name of the user you wish to register.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
username - The user name of the user you wish to register.
public SignUpRequest withUsername(String username)
The user name of the user you wish to register.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
username - The user name of the user you wish to register.
public String getPassword()
The password of the user you wish to register.
Constraints:
Length: 6 - 256
Pattern: [\S]+
The password of the user you wish to register.
public void setPassword(String password)
The password of the user you wish to register.
Constraints:
Length: 6 - 256
Pattern: [\S]+
password - The password of the user you wish to register.
public SignUpRequest withPassword(String password)
The password of the user you wish to register.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 6 - 256
Pattern: [\S]+
password - The password of the user you wish to register.
public List<AttributeType> getUserAttributes()
An array of name-value pairs representing user attributes.
An array of name-value pairs representing user attributes.
public void setUserAttributes(Collection<AttributeType> userAttributes)
An array of name-value pairs representing user attributes.
userAttributes - An array of name-value pairs representing user attributes.
public SignUpRequest withUserAttributes(AttributeType... userAttributes)
An array of name-value pairs representing user attributes.
Returns a reference to this object so that method calls can be chained together.
userAttributes - An array of name-value pairs representing user attributes.
public SignUpRequest withUserAttributes(Collection<AttributeType> userAttributes)
An array of name-value pairs representing user attributes.
Returns a reference to this object so that method calls can be chained together.
userAttributes - An array of name-value pairs representing user attributes.
public List<AttributeType> getValidationData()
The validation data in the request to register a user.
The validation data in the request to register a user.
public void setValidationData(Collection<AttributeType> validationData)
The validation data in the request to register a user.
validationData - The validation data in the request to register a user.
public SignUpRequest withValidationData(AttributeType... validationData)
The validation data in the request to register a user.
Returns a reference to this object so that method calls can be chained together.
validationData - The validation data in the request to register a user.
public SignUpRequest withValidationData(Collection<AttributeType> validationData)
The validation data in the request to register a user.
Returns a reference to this object so that method calls can be chained together.
validationData - The validation data in the request to register a user.
public UserContextDataType getUserContextData()
Base64 encoded string for user context data collected for risk evaluation
Base64 encoded string for user context data collected for risk evaluation
public void setUserContextData(UserContextDataType userContextData)
Base64 encoded string for user context data collected for risk evaluation
userContextData - Base64 encoded string for user context data collected for risk evaluation
public SignUpRequest withUserContextData(UserContextDataType userContextData)
Base64 encoded string for user context data collected for risk evaluation
Returns a reference to this object so that method calls can be chained together.
userContextData - Base64 encoded string for user context data collected for risk evaluation
public AnalyticsMetadataType getAnalyticsMetadata()
The pinpoint installation id.
The pinpoint installation id.
public void setAnalyticsMetadata(AnalyticsMetadataType analyticsMetadata)
The pinpoint installation id.
analyticsMetadata - The pinpoint installation id.
public SignUpRequest withAnalyticsMetadata(AnalyticsMetadataType analyticsMetadata)
The pinpoint installation id.
Returns a reference to this object so that method calls can be chained together.
analyticsMetadata - The pinpoint installation id.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.