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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description AddCustomAttributesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddCustomAttributesRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)List<SchemaAttributeType>getCustomAttributes()An array of custom attributes, such as Mutable and Name.StringgetUserPoolId()The user pool ID for the user pool where you want to add custom attributes.inthashCode()voidsetCustomAttributes(Collection<SchemaAttributeType> customAttributes)An array of custom attributes, such as Mutable and Name.voidsetUserPoolId(String userPoolId)The user pool ID for the user pool where you want to add custom attributes.StringtoString()Returns a string representation of this object; useful for testing and debugging.AddCustomAttributesRequestwithCustomAttributes(SchemaAttributeType... customAttributes)An array of custom attributes, such as Mutable and Name.AddCustomAttributesRequestwithCustomAttributes(Collection<SchemaAttributeType> customAttributes)An array of custom attributes, such as Mutable and Name.AddCustomAttributesRequestwithUserPoolId(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
-
-
-
-
Method Detail
-
setUserPoolId
public void setUserPoolId(String userPoolId)
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
public String 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
public AddCustomAttributesRequest withUserPoolId(String userPoolId)
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
public List<SchemaAttributeType> getCustomAttributes()
An array of custom attributes, such as Mutable and Name.
- Returns:
- An array of custom attributes, such as Mutable and Name.
-
setCustomAttributes
public void setCustomAttributes(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.
-
withCustomAttributes
public AddCustomAttributesRequest withCustomAttributes(SchemaAttributeType... customAttributes)
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
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 AddCustomAttributesRequest 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()
-
-