Class CfnUserPoolUserToGroupAttachmentPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cognito.CfnUserPoolUserToGroupAttachmentPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolUserToGroupAttachmentPropsMixin>
- Enclosing class:
CfnUserPoolUserToGroupAttachmentPropsMixin
@Stability(Stable)
public static final class CfnUserPoolUserToGroupAttachmentPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPoolUserToGroupAttachmentPropsMixin>
A fluent builder for
CfnUserPoolUserToGroupAttachmentPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) The name of the group that you want to add your user to.groupName(IUserPoolGroupRef groupName) The name of the group that you want to add your user to.The user's username.username(IUserPoolUserRef username) The user's username.userPoolId(String userPoolId) The ID of the user pool that contains the group that you want to add the user to.userPoolId(IUserPoolRef userPoolId) The ID of the user pool that contains the group that you want to add the user to.
-
Method Details
-
create
@Stability(Stable) public static CfnUserPoolUserToGroupAttachmentPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnUserPoolUserToGroupAttachmentPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnUserPoolUserToGroupAttachmentPropsMixin.Builder.
-
groupName
@Stability(Stable) public CfnUserPoolUserToGroupAttachmentPropsMixin.Builder groupName(String 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:
-
groupName
@Stability(Stable) public CfnUserPoolUserToGroupAttachmentPropsMixin.Builder groupName(IUserPoolGroupRef 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
@Stability(Stable) public CfnUserPoolUserToGroupAttachmentPropsMixin.Builder username(String username) The user's username.- Parameters:
username- The user's username. This parameter is required.- Returns:
this- See Also:
-
username
@Stability(Stable) public CfnUserPoolUserToGroupAttachmentPropsMixin.Builder username(IUserPoolUserRef username) The user's username.- Parameters:
username- The user's username. This parameter is required.- Returns:
this- See Also:
-
userPoolId
@Stability(Stable) public CfnUserPoolUserToGroupAttachmentPropsMixin.Builder userPoolId(String userPoolId) The ID of the user pool that contains the group that you want to add the user to.- Parameters:
userPoolId- The ID of the user pool that contains the group that you want to add the user to. This parameter is required.- Returns:
this- See Also:
-
userPoolId
@Stability(Stable) public CfnUserPoolUserToGroupAttachmentPropsMixin.Builder userPoolId(IUserPoolRef userPoolId) The ID of the user pool that contains the group that you want to add the user to.- Parameters:
userPoolId- The ID of the user pool that contains the group that you want to add the user to. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPoolUserToGroupAttachmentPropsMixin>- Returns:
- a newly built instance of
CfnUserPoolUserToGroupAttachmentPropsMixin.
-