@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 username of the user that you want to query or modify.
|
String |
getUserPoolId()
The ID of the user pool that contains the user whose options you're setting.
|
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 username of the user that you want to query or modify.
|
void |
setUserPoolId(String userPoolId)
The ID of the user pool that contains the user whose options you're setting.
|
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 username of the user that you want to query or modify.
|
AdminSetUserSettingsRequest |
withUserPoolId(String userPoolId)
The ID of the user pool that contains the user whose options you're setting.
|
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 whose options you're setting.
userPoolId
- The ID of the user pool that contains the user whose options you're setting.public String getUserPoolId()
The ID of the user pool that contains the user whose options you're setting.
public AdminSetUserSettingsRequest withUserPoolId(String userPoolId)
The ID of the user pool that contains the user whose options you're setting.
userPoolId
- The ID of the user pool that contains the user whose options you're setting.public void setUsername(String username)
The username of the user that you want to query or modify. The value of this parameter is typically your user's
username, but it can be any of their alias attributes. If username
isn't an alias attribute in your
user pool, this value must be the sub
of a local user or the username of a user from a third-party
IdP.
username
- The username of the user that you want to query or modify. The value of this parameter is typically your
user's username, but it can be any of their alias attributes. If username
isn't an alias
attribute in your user pool, this value must be the sub
of a local user or the username of a
user from a third-party IdP.public String getUsername()
The username of the user that you want to query or modify. The value of this parameter is typically your user's
username, but it can be any of their alias attributes. If username
isn't an alias attribute in your
user pool, this value must be the sub
of a local user or the username of a user from a third-party
IdP.
username
isn't an alias
attribute in your user pool, this value must be the sub
of a local user or the username of a
user from a third-party IdP.public AdminSetUserSettingsRequest withUsername(String username)
The username of the user that you want to query or modify. The value of this parameter is typically your user's
username, but it can be any of their alias attributes. If username
isn't an alias attribute in your
user pool, this value must be the sub
of a local user or the username of a user from a third-party
IdP.
username
- The username of the user that you want to query or modify. The value of this parameter is typically your
user's username, but it can be any of their alias attributes. If username
isn't an alias
attribute in your user pool, this value must be the sub
of a local user or the username of a
user from a third-party IdP.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()