Interface SetUserSettingsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CognitoIdentityProviderRequest.Builder,CopyableBuilder<SetUserSettingsRequest.Builder,SetUserSettingsRequest>,SdkBuilder<SetUserSettingsRequest.Builder,SetUserSettingsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- SetUserSettingsRequest
public static interface SetUserSettingsRequest.Builder extends CognitoIdentityProviderRequest.Builder, SdkPojo, CopyableBuilder<SetUserSettingsRequest.Builder,SetUserSettingsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SetUserSettingsRequest.BuilderaccessToken(String accessToken)A valid access token that Amazon Cognito issued to the user whose user settings you want to configure.SetUserSettingsRequest.BuildermfaOptions(Collection<MFAOptionType> mfaOptions)You can use this parameter only to set an SMS configuration that uses SMS for delivery.SetUserSettingsRequest.BuildermfaOptions(Consumer<MFAOptionType.Builder>... mfaOptions)You can use this parameter only to set an SMS configuration that uses SMS for delivery.SetUserSettingsRequest.BuildermfaOptions(MFAOptionType... mfaOptions)You can use this parameter only to set an SMS configuration that uses SMS for delivery.SetUserSettingsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)SetUserSettingsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
accessToken
SetUserSettingsRequest.Builder accessToken(String accessToken)
A valid access token that Amazon Cognito issued to the user whose user settings you want to configure.
- Parameters:
accessToken- A valid access token that Amazon Cognito issued to the user whose user settings you want to configure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mfaOptions
SetUserSettingsRequest.Builder mfaOptions(Collection<MFAOptionType> mfaOptions)
You can use this parameter only to set an SMS configuration that uses SMS for delivery.
- Parameters:
mfaOptions- You can use this parameter only to set an SMS configuration that uses SMS for delivery.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mfaOptions
SetUserSettingsRequest.Builder mfaOptions(MFAOptionType... mfaOptions)
You can use this parameter only to set an SMS configuration that uses SMS for delivery.
- Parameters:
mfaOptions- You can use this parameter only to set an SMS configuration that uses SMS for delivery.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mfaOptions
SetUserSettingsRequest.Builder mfaOptions(Consumer<MFAOptionType.Builder>... mfaOptions)
You can use this parameter only to set an SMS configuration that uses SMS for delivery.
This is a convenience method that creates an instance of theMFAOptionType.Builderavoiding the need to create one manually viaMFAOptionType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#mfaOptions(List.) - Parameters:
mfaOptions- a consumer that will call methods onMFAOptionType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#mfaOptions(java.util.Collection)
-
overrideConfiguration
SetUserSettingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SetUserSettingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-