Interface AccountRecoverySettingType.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AccountRecoverySettingType.Builder,,AccountRecoverySettingType> SdkBuilder<AccountRecoverySettingType.Builder,,AccountRecoverySettingType> SdkPojo
- Enclosing class:
- AccountRecoverySettingType
-
Method Summary
Modifier and TypeMethodDescriptionrecoveryMechanisms(Collection<RecoveryOptionType> recoveryMechanisms) The list of options and priorities for user message delivery in forgot-password operations.recoveryMechanisms(Consumer<RecoveryOptionType.Builder>... recoveryMechanisms) The list of options and priorities for user message delivery in forgot-password operations.recoveryMechanisms(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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 torecoveryMechanisms(List<RecoveryOptionType>).- 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:
-