public class AddCustomAttributesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the request to add custom attributes.
Modifier and Type | Field and Description |
---|---|
private java.util.List<SchemaAttributeType> |
customAttributes
An array of custom attributes, such as Mutable and Name.
|
private java.lang.String |
userPoolId
The user pool ID for the user pool where you want to add custom
attributes.
|
NOOP
Constructor and Description |
---|
AddCustomAttributesRequest() |
Modifier and Type | Method and Description |
---|---|
AddCustomAttributesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<SchemaAttributeType> |
getCustomAttributes()
An array of custom attributes, such as Mutable and Name.
|
java.lang.String |
getUserPoolId()
The user pool ID for the user pool where you want to add custom
attributes.
|
int |
hashCode() |
void |
setCustomAttributes(java.util.Collection<SchemaAttributeType> customAttributes)
An array of custom attributes, such as Mutable and Name.
|
void |
setUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to add custom
attributes.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AddCustomAttributesRequest |
withCustomAttributes(java.util.Collection<SchemaAttributeType> customAttributes)
An array of custom attributes, such as Mutable and Name.
|
AddCustomAttributesRequest |
withCustomAttributes(SchemaAttributeType... customAttributes)
An array of custom attributes, such as Mutable and Name.
|
AddCustomAttributesRequest |
withUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to add custom
attributes.
|
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
private java.lang.String userPoolId
The user pool ID for the user pool where you want to add custom attributes.
private java.util.List<SchemaAttributeType> customAttributes
An array of custom attributes, such as Mutable and Name.
public void setUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to add custom attributes.
userPoolId
- The user pool ID for the user pool where you want to add custom
attributes.public java.lang.String getUserPoolId()
The user pool ID for the user pool where you want to add custom attributes.
public AddCustomAttributesRequest withUserPoolId(java.lang.String userPoolId)
The user pool ID for the user pool where you want to add custom attributes.
userPoolId
- The user pool ID for the user pool where you want to add custom
attributes.public java.util.List<SchemaAttributeType> getCustomAttributes()
An array of custom attributes, such as Mutable and Name.
public void setCustomAttributes(java.util.Collection<SchemaAttributeType> customAttributes)
An array of custom attributes, such as Mutable and Name.
customAttributes
- An array of custom attributes, such as Mutable and Name.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)
or
withCustomAttributes(java.util.Collection)
if you want to
override the existing values.
customAttributes
- An array of custom attributes, such as Mutable and Name.public AddCustomAttributesRequest withCustomAttributes(java.util.Collection<SchemaAttributeType> customAttributes)
An array of custom attributes, such as Mutable and Name.
customAttributes
- An array of custom attributes, such as Mutable and Name.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AddCustomAttributesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()