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