public class AddCustomAttributesRequest extends AmazonWebServiceRequest implements Serializable
Adds additional user attributes to the user pool schema.
Constructor and Description |
---|
AddCustomAttributesRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<SchemaAttributeType> |
getCustomAttributes()
An array of custom attributes, such as Mutable and Name.
|
String |
getUserPoolId()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AddCustomAttributesRequest |
withCustomAttributes(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(String userPoolId)
The user pool ID for the user pool where you want to add custom
attributes.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getUserPoolId()
The user pool ID for the user pool where you want to add custom attributes.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID for the user pool where you want to add custom attributes.
public void setUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to add custom attributes.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId
- The user pool ID for the user pool where you want to add custom attributes.
public AddCustomAttributesRequest withUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to add custom attributes.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId
- The user pool ID for the user pool where you want to add custom attributes.
public List<SchemaAttributeType> getCustomAttributes()
An array of custom attributes, such as Mutable and Name.
An array of custom attributes, such as Mutable and Name.
public void setCustomAttributes(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.
Returns a reference to this object so that method calls can be chained together.
customAttributes
- An array of custom attributes, such as Mutable and Name.
public AddCustomAttributesRequest withCustomAttributes(Collection<SchemaAttributeType> customAttributes)
An array of custom attributes, such as Mutable and Name.
Returns a reference to this object so that method calls can be chained together.
customAttributes
- An array of custom attributes, such as Mutable and Name.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2020. All rights reserved.