Class CfnUserPoolReplicaProps.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CfnUserPoolReplicaProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolReplicaProps>
- Enclosing interface:
CfnUserPoolReplicaProps
@Stability(Stable)
public static final class CfnUserPoolReplicaProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPoolReplicaProps>
A builder for
CfnUserPoolReplicaProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.regionName(String regionName) Sets the value ofCfnUserPoolReplicaProps.getRegionName()userPoolId(String userPoolId) Sets the value ofCfnUserPoolReplicaProps.getUserPoolId()userPoolTagsAtCreate(Map<String, String> userPoolTagsAtCreate) Sets the value ofCfnUserPoolReplicaProps.getUserPoolTagsAtCreate()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
regionName
Sets the value ofCfnUserPoolReplicaProps.getRegionName()- Parameters:
regionName- the value to be set. This parameter is required.- Returns:
this
-
userPoolId
Sets the value ofCfnUserPoolReplicaProps.getUserPoolId()- Parameters:
userPoolId- the value to be set. This parameter is required.- Returns:
this
-
userPoolTagsAtCreate
@Stability(Stable) public CfnUserPoolReplicaProps.Builder userPoolTagsAtCreate(Map<String, String> userPoolTagsAtCreate) Sets the value ofCfnUserPoolReplicaProps.getUserPoolTagsAtCreate()- Parameters:
userPoolTagsAtCreate- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPoolReplicaProps>- Returns:
- a new instance of
CfnUserPoolReplicaProps - Throws:
NullPointerException- if any required attribute was not provided
-