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