Class CfnUserPoolUserToGroupAttachment.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CfnUserPoolUserToGroupAttachment.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolUserToGroupAttachment>
- Enclosing class:
CfnUserPoolUserToGroupAttachment
@Stability(Stable)
public static final class CfnUserPoolUserToGroupAttachment.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPoolUserToGroupAttachment>
A fluent builder for
CfnUserPoolUserToGroupAttachment.-
Method Summary
Modifier and TypeMethodDescriptionbuild()The name of the group that you want to add your user to.The user's username.userPoolId(String userPoolId) The user pool ID for the user pool.
-
Method Details
-
create
@Stability(Stable) public static CfnUserPoolUserToGroupAttachment.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnUserPoolUserToGroupAttachment.Builder.
-
groupName
The name of the group that you want to add your user to.- Parameters:
groupName- The name of the group that you want to add your user to. This parameter is required.- Returns:
this- See Also:
-
username
The user's username.- Parameters:
username- The user's username. This parameter is required.- Returns:
this- See Also:
-
userPoolId
The user pool ID for the user pool.- Parameters:
userPoolId- The user pool ID for the user pool. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPoolUserToGroupAttachment>- Returns:
- a newly built instance of
CfnUserPoolUserToGroupAttachment.
-