@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.
|
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.
|
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; useful for testing and debugging.
|
SetUserMFAPreferenceRequest |
withAccessToken(String accessToken)
The access token.
|
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, withSdkRequestTimeout
public 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.
accessToken
- The access token.public String getAccessToken()
The access token.
public SetUserMFAPreferenceRequest withAccessToken(String accessToken)
The access token.
accessToken
- The access token.public String toString()
toString
in class Object
Object.toString()
public SetUserMFAPreferenceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.