public class UpdateUserPoolRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the request to update the user pool.
NOOP
Constructor and Description |
---|
UpdateUserPoolRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateUserPoolRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<String> |
getAutoVerifiedAttributes()
The attributes that are automatically verified when the Amazon Cognito
service makes a request to update user pools.
|
DeviceConfigurationType |
getDeviceConfiguration()
Device configuration.
|
EmailConfigurationType |
getEmailConfiguration()
Email configuration.
|
String |
getEmailVerificationMessage()
The contents of the email verification message.
|
String |
getEmailVerificationSubject()
The subject of the email verfication message
|
LambdaConfigType |
getLambdaConfig()
The AWS Lambda configuration information from the request to update the
user pool.
|
String |
getMfaConfiguration()
Can be one of the following values:
|
UserPoolPolicyType |
getPolicies()
A container with the policies you wish to update in a user pool.
|
String |
getSmsAuthenticationMessage()
The contents of the SMS authentication message.
|
SmsConfigurationType |
getSmsConfiguration()
SMS configuration.
|
String |
getSmsVerificationMessage()
A container with information about the SMS verification message.
|
String |
getUserPoolId()
The user pool ID for the user pool you want to update.
|
int |
hashCode() |
void |
setAutoVerifiedAttributes(Collection<String> autoVerifiedAttributes)
The attributes that are automatically verified when the Amazon Cognito
service makes a request to update user pools.
|
void |
setDeviceConfiguration(DeviceConfigurationType deviceConfiguration)
Device configuration.
|
void |
setEmailConfiguration(EmailConfigurationType emailConfiguration)
Email configuration.
|
void |
setEmailVerificationMessage(String emailVerificationMessage)
The contents of the email verification message.
|
void |
setEmailVerificationSubject(String emailVerificationSubject)
The subject of the email verfication message
|
void |
setLambdaConfig(LambdaConfigType lambdaConfig)
The AWS Lambda configuration information from the request to update the
user pool.
|
void |
setMfaConfiguration(String mfaConfiguration)
Can be one of the following values:
|
void |
setMfaConfiguration(UserPoolMfaType mfaConfiguration)
Can be one of the following values:
|
void |
setPolicies(UserPoolPolicyType policies)
A container with the policies you wish to update in a user pool.
|
void |
setSmsAuthenticationMessage(String smsAuthenticationMessage)
The contents of the SMS authentication message.
|
void |
setSmsConfiguration(SmsConfigurationType smsConfiguration)
SMS configuration.
|
void |
setSmsVerificationMessage(String smsVerificationMessage)
A container with information about the SMS verification message.
|
void |
setUserPoolId(String userPoolId)
The user pool ID for the user pool you want to update.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateUserPoolRequest |
withAutoVerifiedAttributes(Collection<String> autoVerifiedAttributes)
The attributes that are automatically verified when the Amazon Cognito
service makes a request to update user pools.
|
UpdateUserPoolRequest |
withAutoVerifiedAttributes(String... autoVerifiedAttributes)
The attributes that are automatically verified when the Amazon Cognito
service makes a request to update user pools.
|
UpdateUserPoolRequest |
withAutoVerifiedAttributes(VerifiedAttributeType... autoVerifiedAttributes)
The attributes that are automatically verified when the Amazon Cognito
service makes a request to update user pools.
|
UpdateUserPoolRequest |
withDeviceConfiguration(DeviceConfigurationType deviceConfiguration)
Device configuration.
|
UpdateUserPoolRequest |
withEmailConfiguration(EmailConfigurationType emailConfiguration)
Email configuration.
|
UpdateUserPoolRequest |
withEmailVerificationMessage(String emailVerificationMessage)
The contents of the email verification message.
|
UpdateUserPoolRequest |
withEmailVerificationSubject(String emailVerificationSubject)
The subject of the email verfication message
|
UpdateUserPoolRequest |
withLambdaConfig(LambdaConfigType lambdaConfig)
The AWS Lambda configuration information from the request to update the
user pool.
|
UpdateUserPoolRequest |
withMfaConfiguration(String mfaConfiguration)
Can be one of the following values:
|
UpdateUserPoolRequest |
withMfaConfiguration(UserPoolMfaType mfaConfiguration)
Can be one of the following values:
|
UpdateUserPoolRequest |
withPolicies(UserPoolPolicyType policies)
A container with the policies you wish to update in a user pool.
|
UpdateUserPoolRequest |
withSmsAuthenticationMessage(String smsAuthenticationMessage)
The contents of the SMS authentication message.
|
UpdateUserPoolRequest |
withSmsConfiguration(SmsConfigurationType smsConfiguration)
SMS configuration.
|
UpdateUserPoolRequest |
withSmsVerificationMessage(String smsVerificationMessage)
A container with information about the SMS verification message.
|
UpdateUserPoolRequest |
withUserPoolId(String userPoolId)
The user pool ID for the user pool you want to update.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setUserPoolId(String userPoolId)
The user pool ID for the user pool you want to update.
userPoolId
- The user pool ID for the user pool you want to update.public String getUserPoolId()
The user pool ID for the user pool you want to update.
public UpdateUserPoolRequest withUserPoolId(String userPoolId)
The user pool ID for the user pool you want to update.
userPoolId
- The user pool ID for the user pool you want to update.public void setPolicies(UserPoolPolicyType policies)
A container with the policies you wish to update in a user pool.
policies
- A container with the policies you wish to update in a user pool.public UserPoolPolicyType getPolicies()
A container with the policies you wish to update in a user pool.
public UpdateUserPoolRequest withPolicies(UserPoolPolicyType policies)
A container with the policies you wish to update in a user pool.
policies
- A container with the policies you wish to update in a user pool.public void setLambdaConfig(LambdaConfigType lambdaConfig)
The AWS Lambda configuration information from the request to update the user pool.
lambdaConfig
- The AWS Lambda configuration information from the request to
update the user pool.public LambdaConfigType getLambdaConfig()
The AWS Lambda configuration information from the request to update the user pool.
public UpdateUserPoolRequest withLambdaConfig(LambdaConfigType lambdaConfig)
The AWS Lambda configuration information from the request to update the user pool.
lambdaConfig
- The AWS Lambda configuration information from the request to
update the user pool.public List<String> getAutoVerifiedAttributes()
The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools.
VerifiedAttributeType
public void setAutoVerifiedAttributes(Collection<String> autoVerifiedAttributes)
The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools.
autoVerifiedAttributes
- The attributes that are automatically verified when the Amazon
Cognito service makes a request to update user pools.VerifiedAttributeType
public UpdateUserPoolRequest withAutoVerifiedAttributes(String... autoVerifiedAttributes)
The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools.
NOTE: This method appends the values to the existing list (if
any). Use setAutoVerifiedAttributes(java.util.Collection)
or
withAutoVerifiedAttributes(java.util.Collection)
if you want to
override the existing values.
autoVerifiedAttributes
- The attributes that are automatically verified when the Amazon
Cognito service makes a request to update user pools.VerifiedAttributeType
public UpdateUserPoolRequest withAutoVerifiedAttributes(Collection<String> autoVerifiedAttributes)
The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools.
autoVerifiedAttributes
- The attributes that are automatically verified when the Amazon
Cognito service makes a request to update user pools.VerifiedAttributeType
public UpdateUserPoolRequest withAutoVerifiedAttributes(VerifiedAttributeType... autoVerifiedAttributes)
The attributes that are automatically verified when the Amazon Cognito service makes a request to update user pools.
autoVerifiedAttributes
- The attributes that are automatically verified when the Amazon
Cognito service makes a request to update user pools.VerifiedAttributeType
public void setSmsVerificationMessage(String smsVerificationMessage)
A container with information about the SMS verification message.
smsVerificationMessage
- A container with information about the SMS verification message.public String getSmsVerificationMessage()
A container with information about the SMS verification message.
public UpdateUserPoolRequest withSmsVerificationMessage(String smsVerificationMessage)
A container with information about the SMS verification message.
smsVerificationMessage
- A container with information about the SMS verification message.public void setEmailVerificationMessage(String emailVerificationMessage)
The contents of the email verification message.
emailVerificationMessage
- The contents of the email verification message.public String getEmailVerificationMessage()
The contents of the email verification message.
public UpdateUserPoolRequest withEmailVerificationMessage(String emailVerificationMessage)
The contents of the email verification message.
emailVerificationMessage
- The contents of the email verification message.public void setEmailVerificationSubject(String emailVerificationSubject)
The subject of the email verfication message
emailVerificationSubject
- The subject of the email verfication messagepublic String getEmailVerificationSubject()
The subject of the email verfication message
public UpdateUserPoolRequest withEmailVerificationSubject(String emailVerificationSubject)
The subject of the email verfication message
emailVerificationSubject
- The subject of the email verfication messagepublic void setSmsAuthenticationMessage(String smsAuthenticationMessage)
The contents of the SMS authentication message.
smsAuthenticationMessage
- The contents of the SMS authentication message.public String getSmsAuthenticationMessage()
The contents of the SMS authentication message.
public UpdateUserPoolRequest withSmsAuthenticationMessage(String smsAuthenticationMessage)
The contents of the SMS authentication message.
smsAuthenticationMessage
- The contents of the SMS authentication message.public void setMfaConfiguration(String mfaConfiguration)
Can be one of the following values:
OFF
- MFA tokens are not required and cannot be
specified during user registration.ON
- MFA tokens are required for all user registrations.
You can only specify required when you are initially creating a user
pool.OPTIONAL
- Users have the option when registering to
create an MFA token.mfaConfiguration
- Can be one of the following values:
OFF
- MFA tokens are not required and cannot be
specified during user registration.ON
- MFA tokens are required for all user
registrations. You can only specify required when you are
initially creating a user pool.OPTIONAL
- Users have the option when registering
to create an MFA token.UserPoolMfaType
public String getMfaConfiguration()
Can be one of the following values:
OFF
- MFA tokens are not required and cannot be
specified during user registration.ON
- MFA tokens are required for all user registrations.
You can only specify required when you are initially creating a user
pool.OPTIONAL
- Users have the option when registering to
create an MFA token.OFF
- MFA tokens are not required and cannot be
specified during user registration.ON
- MFA tokens are required for all user
registrations. You can only specify required when you are
initially creating a user pool.OPTIONAL
- Users have the option when
registering to create an MFA token.UserPoolMfaType
public UpdateUserPoolRequest withMfaConfiguration(String mfaConfiguration)
Can be one of the following values:
OFF
- MFA tokens are not required and cannot be
specified during user registration.ON
- MFA tokens are required for all user registrations.
You can only specify required when you are initially creating a user
pool.OPTIONAL
- Users have the option when registering to
create an MFA token.mfaConfiguration
- Can be one of the following values:
OFF
- MFA tokens are not required and cannot be
specified during user registration.ON
- MFA tokens are required for all user
registrations. You can only specify required when you are
initially creating a user pool.OPTIONAL
- Users have the option when registering
to create an MFA token.UserPoolMfaType
public void setMfaConfiguration(UserPoolMfaType mfaConfiguration)
Can be one of the following values:
OFF
- MFA tokens are not required and cannot be
specified during user registration.ON
- MFA tokens are required for all user registrations.
You can only specify required when you are initially creating a user
pool.OPTIONAL
- Users have the option when registering to
create an MFA token.mfaConfiguration
- Can be one of the following values:
OFF
- MFA tokens are not required and cannot be
specified during user registration.ON
- MFA tokens are required for all user
registrations. You can only specify required when you are
initially creating a user pool.OPTIONAL
- Users have the option when registering
to create an MFA token.UserPoolMfaType
public UpdateUserPoolRequest withMfaConfiguration(UserPoolMfaType mfaConfiguration)
Can be one of the following values:
OFF
- MFA tokens are not required and cannot be
specified during user registration.ON
- MFA tokens are required for all user registrations.
You can only specify required when you are initially creating a user
pool.OPTIONAL
- Users have the option when registering to
create an MFA token.mfaConfiguration
- Can be one of the following values:
OFF
- MFA tokens are not required and cannot be
specified during user registration.ON
- MFA tokens are required for all user
registrations. You can only specify required when you are
initially creating a user pool.OPTIONAL
- Users have the option when registering
to create an MFA token.UserPoolMfaType
public void setDeviceConfiguration(DeviceConfigurationType deviceConfiguration)
Device configuration.
deviceConfiguration
- Device configuration.public DeviceConfigurationType getDeviceConfiguration()
Device configuration.
public UpdateUserPoolRequest withDeviceConfiguration(DeviceConfigurationType deviceConfiguration)
Device configuration.
deviceConfiguration
- Device configuration.public void setEmailConfiguration(EmailConfigurationType emailConfiguration)
Email configuration.
emailConfiguration
- Email configuration.public EmailConfigurationType getEmailConfiguration()
Email configuration.
public UpdateUserPoolRequest withEmailConfiguration(EmailConfigurationType emailConfiguration)
Email configuration.
emailConfiguration
- Email configuration.public void setSmsConfiguration(SmsConfigurationType smsConfiguration)
SMS configuration.
smsConfiguration
- SMS configuration.public SmsConfigurationType getSmsConfiguration()
SMS configuration.
public UpdateUserPoolRequest withSmsConfiguration(SmsConfigurationType smsConfiguration)
SMS configuration.
smsConfiguration
- SMS configuration.public String toString()
toString
in class Object
Object.toString()
public UpdateUserPoolRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.