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 ResendConfirmationCodeRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getClientId()
The ID of the client associated with the user pool.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.String
getUsername()
The user name of the user to whom you wish to resend a confirmation code.int
hashCode()
void
setClientId(String clientId)
The ID of the client associated with the user pool.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
setUsername(String username)
The user name of the user to whom you wish to resend a confirmation code.String
toString()
Returns a string representation of this object; useful for testing and debugging.ResendConfirmationCodeRequest
withClientId(String clientId)
The ID of the client associated with the user pool.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.ResendConfirmationCodeRequest
withUsername(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ResendConfirmationCodeRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-