Class AddCustomAttributesRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cognitoidp.model.AddCustomAttributesRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class AddCustomAttributesRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable
Represents the request to add custom attributes.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
An array of custom attributes, such as Mutable and Name.The user pool ID for the user pool where you want to add custom attributes.int
hashCode()
void
setCustomAttributes
(Collection<SchemaAttributeType> customAttributes) An array of custom attributes, such as Mutable and Name.void
setUserPoolId
(String userPoolId) The user pool ID for the user pool where you want to add custom attributes.toString()
Returns a string representation of this object; useful for testing and debugging.withCustomAttributes
(SchemaAttributeType... customAttributes) An array of custom attributes, such as Mutable and Name.withCustomAttributes
(Collection<SchemaAttributeType> customAttributes) An array of custom attributes, such as Mutable and Name.withUserPoolId
(String userPoolId) The user pool ID for the user pool where you want to add custom attributes.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
-
Constructor Details
-
AddCustomAttributesRequest
public AddCustomAttributesRequest()
-
-
Method Details
-
setUserPoolId
The user pool ID for the user pool where you want to add custom attributes.
- Parameters:
userPoolId
- The user pool ID for the user pool where you want to add custom attributes.
-
getUserPoolId
The user pool ID for the user pool where you want to add custom attributes.
- Returns:
- The user pool ID for the user pool where you want to add custom attributes.
-
withUserPoolId
The user pool ID for the user pool where you want to add custom attributes.
- Parameters:
userPoolId
- The user pool ID for the user pool where you want to add custom attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getCustomAttributes
An array of custom attributes, such as Mutable and Name.
- Returns:
- An array of custom attributes, such as Mutable and Name.
-
setCustomAttributes
An array of custom attributes, such as Mutable and Name.
- Parameters:
customAttributes
- An array of custom attributes, such as Mutable and Name.
-
withCustomAttributes
An array of custom attributes, such as Mutable and Name.
NOTE: This method appends the values to the existing list (if any). Use
setCustomAttributes(java.util.Collection)
orwithCustomAttributes(java.util.Collection)
if you want to override the existing values.- Parameters:
customAttributes
- An array of custom attributes, such as Mutable and Name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withCustomAttributes
public AddCustomAttributesRequest withCustomAttributes(Collection<SchemaAttributeType> customAttributes) An array of custom attributes, such as Mutable and Name.
- Parameters:
customAttributes
- An array of custom attributes, such as Mutable and Name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-