@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AdminSetUserSettingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
You can use this parameter to set an MFA configuration that uses the SMS delivery medium.
NOOP
Constructor and Description |
---|
AdminSetUserSettingsRequest() |
Modifier and Type | Method and Description |
---|---|
AdminSetUserSettingsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setUserPoolId(String userPoolId)
The ID of the user pool that contains the user that you are setting options for.
userPoolId
- The ID of the user pool that contains the user that you are setting options for.public String getUserPoolId()
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.
userPoolId
- The ID of the user pool that contains 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.
username
- The user name of the user that you are setting options for.public String getUsername()
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.
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.
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.
NOTE: This method appends the values to the existing list (if any). Use
setMFAOptions(java.util.Collection)
or withMFAOptions(java.util.Collection)
if you want to
override the existing values.
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.
mFAOptions
- You can use this parameter only to set an SMS configuration that uses SMS for delivery.public String toString()
toString
in class Object
Object.toString()
public AdminSetUserSettingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()