@Generated(value="software.amazon.awssdk:codegen") public final class AssociateSoftwareTokenRequest extends CognitoIdentityProviderRequest implements ToCopyableBuilder<AssociateSoftwareTokenRequest.Builder,AssociateSoftwareTokenRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
AssociateSoftwareTokenRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accessToken()
A valid access token that Amazon Cognito issued to the user whose software token you want to generate.
|
static AssociateSoftwareTokenRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AssociateSoftwareTokenRequest.Builder> |
serializableBuilderClass() |
String |
session()
The session that should be passed both ways in challenge-response calls to the service.
|
AssociateSoftwareTokenRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accessToken()
A valid access token that Amazon Cognito issued to the user whose software token you want to generate.
public final String session()
The session that should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process.
public AssociateSoftwareTokenRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AssociateSoftwareTokenRequest.Builder,AssociateSoftwareTokenRequest>toBuilder in class CognitoIdentityProviderRequestpublic static AssociateSoftwareTokenRequest.Builder builder()
public static Class<? extends AssociateSoftwareTokenRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.