public class AdminSetUserSettingsRequest extends AmazonWebServiceRequest implements Serializable
This action is no longer supported. You can use it to configure only SMS MFA. You can't use it to configure TOTP software token MFA. To configure either type of MFA, use the AdminSetUserMFAPreference action instead.
| Constructor and Description |
|---|
AdminSetUserSettingsRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<MFAOptionType> |
getMFAOptions()
You can use this parameter only to set an SMS configuration that uses SMS
for delivery.
|
String |
getUsername()
The user name of the user that you are setting options for.
|
String |
getUserPoolId()
The ID of the user pool that contains the user that you are setting
options for.
|
int |
hashCode() |
void |
setMFAOptions(Collection<MFAOptionType> mFAOptions)
You can use this parameter only to set an SMS configuration that uses SMS
for delivery.
|
void |
setUsername(String username)
The user name of the user that you are setting options for.
|
void |
setUserPoolId(String userPoolId)
The ID of the user pool that contains the user that you are setting
options for.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdminSetUserSettingsRequest |
withMFAOptions(Collection<MFAOptionType> mFAOptions)
You can use this parameter only to set an SMS configuration that uses SMS
for delivery.
|
AdminSetUserSettingsRequest |
withMFAOptions(MFAOptionType... mFAOptions)
You can use this parameter only to set an SMS configuration that uses SMS
for delivery.
|
AdminSetUserSettingsRequest |
withUsername(String username)
The user name of the user that you are setting options for.
|
AdminSetUserSettingsRequest |
withUserPoolId(String userPoolId)
The ID of the user pool that contains the user that you are setting
options for.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getUserPoolId()
The ID of the user pool that contains the user that you are setting options for.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The ID of the user pool that contains the user that you are setting options for.
public void setUserPoolId(String userPoolId)
The ID of the user pool that contains the user that you are setting options for.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The ID of the user pool that contains the user that you are setting options for.
public AdminSetUserSettingsRequest withUserPoolId(String userPoolId)
The ID of the user pool that contains the user that you are setting options for.
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 ID of the user pool that contains the user that you are setting options for.
public String getUsername()
The user name of the user that you are setting options for.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The user name of the user that you are setting options for.
public void setUsername(String username)
The user name of the user that you are setting options for.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
username - The user name of the user that you are setting options for.
public AdminSetUserSettingsRequest withUsername(String username)
The user name of the user that you are setting options for.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
username - The user name of the user that you are setting options for.
public List<MFAOptionType> getMFAOptions()
You can use this parameter only to set an SMS configuration that uses SMS for delivery.
You can use this parameter only to set an SMS configuration that uses SMS for delivery.
public void setMFAOptions(Collection<MFAOptionType> mFAOptions)
You can use this parameter only to set an SMS configuration that uses SMS for delivery.
mFAOptions - You can use this parameter only to set an SMS configuration that uses SMS for delivery.
public AdminSetUserSettingsRequest withMFAOptions(MFAOptionType... mFAOptions)
You can use this parameter only to set an SMS configuration that uses SMS for delivery.
Returns a reference to this object so that method calls can be chained together.
mFAOptions - You can use this parameter only to set an SMS configuration that uses SMS for delivery.
public AdminSetUserSettingsRequest withMFAOptions(Collection<MFAOptionType> mFAOptions)
You can use this parameter only to set an SMS configuration that uses SMS for delivery.
Returns a reference to this object so that method calls can be chained together.
mFAOptions - You can use this parameter only to set an SMS configuration that uses SMS for delivery.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.