Class CfnUserPoolUser.AttributeTypeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CfnUserPoolUser.AttributeTypeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolUser.AttributeTypeProperty>
- Enclosing interface:
CfnUserPoolUser.AttributeTypeProperty
@Stability(Stable)
public static final class CfnUserPoolUser.AttributeTypeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPoolUser.AttributeTypeProperty>
A builder for
CfnUserPoolUser.AttributeTypeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnUserPoolUser.AttributeTypeProperty.getName()Sets the value ofCfnUserPoolUser.AttributeTypeProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnUserPoolUser.AttributeTypeProperty.getName()- Parameters:
name- The name of the attribute.- Returns:
this
-
value
Sets the value ofCfnUserPoolUser.AttributeTypeProperty.getValue()- Parameters:
value- The value of the attribute.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPoolUser.AttributeTypeProperty>- Returns:
- a new instance of
CfnUserPoolUser.AttributeTypeProperty - Throws:
NullPointerException- if any required attribute was not provided
-