Interface AccountRecoverySettingType.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AccountRecoverySettingType.Builder,AccountRecoverySettingType>,SdkBuilder<AccountRecoverySettingType.Builder,AccountRecoverySettingType>,SdkPojo
- Enclosing class:
- AccountRecoverySettingType
public static interface AccountRecoverySettingType.Builder extends SdkPojo, CopyableBuilder<AccountRecoverySettingType.Builder,AccountRecoverySettingType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccountRecoverySettingType.BuilderrecoveryMechanisms(Collection<RecoveryOptionType> recoveryMechanisms)The list of options and priorities for user message delivery in forgot-password operations.AccountRecoverySettingType.BuilderrecoveryMechanisms(Consumer<RecoveryOptionType.Builder>... recoveryMechanisms)The list of options and priorities for user message delivery in forgot-password operations.AccountRecoverySettingType.BuilderrecoveryMechanisms(RecoveryOptionType... recoveryMechanisms)The list of options and priorities for user message delivery in forgot-password operations.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
recoveryMechanisms
AccountRecoverySettingType.Builder recoveryMechanisms(Collection<RecoveryOptionType> recoveryMechanisms)
The list of options and priorities for user message delivery in forgot-password operations. Sets or displays user pool preferences for email or SMS message priority, whether users should fall back to a second delivery method, and whether passwords should only be reset by administrators.
- Parameters:
recoveryMechanisms- The list of options and priorities for user message delivery in forgot-password operations. Sets or displays user pool preferences for email or SMS message priority, whether users should fall back to a second delivery method, and whether passwords should only be reset by administrators.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recoveryMechanisms
AccountRecoverySettingType.Builder recoveryMechanisms(RecoveryOptionType... recoveryMechanisms)
The list of options and priorities for user message delivery in forgot-password operations. Sets or displays user pool preferences for email or SMS message priority, whether users should fall back to a second delivery method, and whether passwords should only be reset by administrators.
- Parameters:
recoveryMechanisms- The list of options and priorities for user message delivery in forgot-password operations. Sets or displays user pool preferences for email or SMS message priority, whether users should fall back to a second delivery method, and whether passwords should only be reset by administrators.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recoveryMechanisms
AccountRecoverySettingType.Builder recoveryMechanisms(Consumer<RecoveryOptionType.Builder>... recoveryMechanisms)
The list of options and priorities for user message delivery in forgot-password operations. Sets or displays user pool preferences for email or SMS message priority, whether users should fall back to a second delivery method, and whether passwords should only be reset by administrators.
This is a convenience method that creates an instance of theRecoveryOptionType.Builderavoiding the need to create one manually viaRecoveryOptionType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#recoveryMechanisms(List.) - Parameters:
recoveryMechanisms- a consumer that will call methods onRecoveryOptionType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#recoveryMechanisms(java.util.Collection)
-
-