public static final class CfnUserPool.RecoveryOptionProperty.Builder
extends java.lang.Object
CfnUserPool.RecoveryOptionProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnUserPool.RecoveryOptionProperty |
build()
Builds the configured instance.
|
CfnUserPool.RecoveryOptionProperty.Builder |
name(java.lang.String name)
Sets the value of
CfnUserPool.RecoveryOptionProperty.getName() |
CfnUserPool.RecoveryOptionProperty.Builder |
priority(java.lang.Number priority)
Sets the value of
CfnUserPool.RecoveryOptionProperty.getPriority() |
public CfnUserPool.RecoveryOptionProperty.Builder name(java.lang.String name)
CfnUserPool.RecoveryOptionProperty.getName()
name
- Specifies the recovery method for a user.this
public CfnUserPool.RecoveryOptionProperty.Builder priority(java.lang.Number priority)
CfnUserPool.RecoveryOptionProperty.getPriority()
priority
- A positive integer specifying priority of a method with 1 being the highest priority.this
public CfnUserPool.RecoveryOptionProperty build()
CfnUserPool.RecoveryOptionProperty
java.lang.NullPointerException
- if any required attribute was not provided