@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()
A valid access token that Amazon Cognito issued to the user whose MFA preference you want to set.
|
SMSMfaSettingsType |
getSMSMfaSettings()
The SMS text message multi-factor authentication (MFA) settings.
|
SoftwareTokenMfaSettingsType |
getSoftwareTokenMfaSettings()
The time-based one-time password (TOTP) software token MFA settings.
|
int |
hashCode() |
void |
setAccessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose MFA preference you want to set.
|
void |
setSMSMfaSettings(SMSMfaSettingsType sMSMfaSettings)
The SMS text message multi-factor authentication (MFA) settings.
|
void |
setSoftwareTokenMfaSettings(SoftwareTokenMfaSettingsType softwareTokenMfaSettings)
The time-based one-time password (TOTP) software token MFA settings.
|
String |
toString()
Returns a string representation of this object.
|
SetUserMFAPreferenceRequest |
withAccessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose MFA preference you want to set.
|
SetUserMFAPreferenceRequest |
withSMSMfaSettings(SMSMfaSettingsType sMSMfaSettings)
The SMS text message multi-factor authentication (MFA) settings.
|
SetUserMFAPreferenceRequest |
withSoftwareTokenMfaSettings(SoftwareTokenMfaSettingsType softwareTokenMfaSettings)
The time-based one-time password (TOTP) 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 (TOTP) software token MFA settings.
softwareTokenMfaSettings
- The time-based one-time password (TOTP) software token MFA settings.public SoftwareTokenMfaSettingsType getSoftwareTokenMfaSettings()
The time-based one-time password (TOTP) software token MFA settings.
public SetUserMFAPreferenceRequest withSoftwareTokenMfaSettings(SoftwareTokenMfaSettingsType softwareTokenMfaSettings)
The time-based one-time password (TOTP) software token MFA settings.
softwareTokenMfaSettings
- The time-based one-time password (TOTP) software token MFA settings.public void setAccessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose MFA preference you want to set.
accessToken
- A valid access token that Amazon Cognito issued to the user whose MFA preference you want to set.public String getAccessToken()
A valid access token that Amazon Cognito issued to the user whose MFA preference you want to set.
public SetUserMFAPreferenceRequest withAccessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose MFA preference you want to set.
accessToken
- A valid access token that Amazon Cognito issued to the user whose MFA preference you want to set.public String toString()
toString
in class Object
Object.toString()
public SetUserMFAPreferenceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()