Class ResendConfirmationCodeRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.cognitoidp.model.ResendConfirmationCodeRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class ResendConfirmationCodeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the request to resend the confirmation code.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ResendConfirmationCodeRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResendConfirmationCodeRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetClientId()The ID of the client associated with the user pool.StringgetSecretHash()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.StringgetUsername()The user name of the user to whom you wish to resend a confirmation code.inthashCode()voidsetClientId(String clientId)The ID of the client associated with the user pool.voidsetSecretHash(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.voidsetUsername(String username)The user name of the user to whom you wish to resend a confirmation code.StringtoString()Returns a string representation of this object; useful for testing and debugging.ResendConfirmationCodeRequestwithClientId(String clientId)The ID of the client associated with the user pool.ResendConfirmationCodeRequestwithSecretHash(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.ResendConfirmationCodeRequestwithUsername(String username)The user name of the user to whom you wish to resend a confirmation code.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setClientId
public void setClientId(String clientId)
The ID of the client associated with the user pool.
- Parameters:
clientId- The ID of the client associated with the user pool.
-
getClientId
public String getClientId()
The ID of the client associated with the user pool.
- Returns:
- The ID of the client associated with the user pool.
-
withClientId
public ResendConfirmationCodeRequest withClientId(String clientId)
The ID of the client associated with the user pool.
- Parameters:
clientId- The ID of the client associated with the user pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSecretHash
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.
- Parameters:
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.
-
getSecretHash
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.
- Returns:
- 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.
-
withSecretHash
public ResendConfirmationCodeRequest 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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
setUsername
public void setUsername(String username)
The user name of the user to whom you wish to resend a confirmation code.
- Parameters:
username- The user name of the user to whom you wish to resend a confirmation code.
-
getUsername
public String getUsername()
The user name of the user to whom you wish to resend a confirmation code.
- Returns:
- The user name of the user to whom you wish to resend a confirmation code.
-
withUsername
public ResendConfirmationCodeRequest withUsername(String username)
The user name of the user to whom you wish to resend a confirmation code.
- Parameters:
username- The user name of the user to whom you wish to resend a confirmation code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ResendConfirmationCodeRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-