@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SetUserMFAPreferenceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| SetUserMFAPreferenceRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| SetUserMFAPreferenceRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getAccessToken()
 The access token for the user. | 
| SMSMfaSettingsType | getSMSMfaSettings()
 The SMS text message multi-factor authentication (MFA) settings. | 
| SoftwareTokenMfaSettingsType | getSoftwareTokenMfaSettings()
 The time-based one-time password software token MFA settings. | 
| int | hashCode() | 
| void | setAccessToken(String accessToken)
 The access token for the user. | 
| void | setSMSMfaSettings(SMSMfaSettingsType sMSMfaSettings)
 The SMS text message multi-factor authentication (MFA) settings. | 
| void | setSoftwareTokenMfaSettings(SoftwareTokenMfaSettingsType softwareTokenMfaSettings)
 The time-based one-time password software token MFA settings. | 
| String | toString()Returns a string representation of this object. | 
| SetUserMFAPreferenceRequest | withAccessToken(String accessToken)
 The access token for the user. | 
| SetUserMFAPreferenceRequest | withSMSMfaSettings(SMSMfaSettingsType sMSMfaSettings)
 The SMS text message multi-factor authentication (MFA) settings. | 
| SetUserMFAPreferenceRequest | withSoftwareTokenMfaSettings(SoftwareTokenMfaSettingsType softwareTokenMfaSettings)
 The time-based one-time password software token MFA settings. | 
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, withSdkRequestTimeoutpublic void setSMSMfaSettings(SMSMfaSettingsType sMSMfaSettings)
The SMS text message multi-factor authentication (MFA) settings.
sMSMfaSettings - The SMS text message multi-factor authentication (MFA) settings.public SMSMfaSettingsType getSMSMfaSettings()
The SMS text message multi-factor authentication (MFA) settings.
public SetUserMFAPreferenceRequest withSMSMfaSettings(SMSMfaSettingsType sMSMfaSettings)
The SMS text message multi-factor authentication (MFA) settings.
sMSMfaSettings - The SMS text message multi-factor authentication (MFA) settings.public void setSoftwareTokenMfaSettings(SoftwareTokenMfaSettingsType softwareTokenMfaSettings)
The time-based one-time password software token MFA settings.
softwareTokenMfaSettings - The time-based one-time password software token MFA settings.public SoftwareTokenMfaSettingsType getSoftwareTokenMfaSettings()
The time-based one-time password software token MFA settings.
public SetUserMFAPreferenceRequest withSoftwareTokenMfaSettings(SoftwareTokenMfaSettingsType softwareTokenMfaSettings)
The time-based one-time password software token MFA settings.
softwareTokenMfaSettings - The time-based one-time password software token MFA settings.public void setAccessToken(String accessToken)
The access token for the user.
accessToken - The access token for the user.public String getAccessToken()
The access token for the user.
public SetUserMFAPreferenceRequest withAccessToken(String accessToken)
The access token for the user.
accessToken - The access token for the user.public String toString()
toString in class ObjectObject.toString()public SetUserMFAPreferenceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()