public class SetUserMFAPreferenceRequest extends AmazonWebServiceRequest implements Serializable
Set the user's multi-factor authentication (MFA) method preference.
Constructor and Description |
---|
SetUserMFAPreferenceRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public SMSMfaSettingsType getSMSMfaSettings()
The SMS text message multi-factor authentication (MFA) settings.
The SMS text message multi-factor authentication (MFA) settings.
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 SetUserMFAPreferenceRequest withSMSMfaSettings(SMSMfaSettingsType sMSMfaSettings)
The SMS text message multi-factor authentication (MFA) settings.
Returns a reference to this object so that method calls can be chained together.
sMSMfaSettings
- The SMS text message multi-factor authentication (MFA) settings.
public SoftwareTokenMfaSettingsType getSoftwareTokenMfaSettings()
The time-based one-time password software token MFA settings.
The time-based one-time password software token 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 SetUserMFAPreferenceRequest withSoftwareTokenMfaSettings(SoftwareTokenMfaSettingsType softwareTokenMfaSettings)
The time-based one-time password software token MFA settings.
Returns a reference to this object so that method calls can be chained together.
softwareTokenMfaSettings
- The time-based one-time password software token MFA settings.
public String getAccessToken()
The access token.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
The access token.
public void setAccessToken(String accessToken)
The access token.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
accessToken
- The access token.
public SetUserMFAPreferenceRequest withAccessToken(String accessToken)
The access token.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [A-Za-z0-9-_=.]+
accessToken
- The access token.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2019. All rights reserved.