public static final class CfnUserPoolUserToGroupAttachment.Builder
extends java.lang.Object
CfnUserPoolUserToGroupAttachment
.Modifier and Type | Method and Description |
---|---|
CfnUserPoolUserToGroupAttachment |
build() |
static CfnUserPoolUserToGroupAttachment.Builder |
create(Construct scope,
java.lang.String id) |
CfnUserPoolUserToGroupAttachment.Builder |
groupName(java.lang.String groupName)
The group name.
|
CfnUserPoolUserToGroupAttachment.Builder |
username(java.lang.String username)
The username for the user.
|
CfnUserPoolUserToGroupAttachment.Builder |
userPoolId(java.lang.String userPoolId)
The user pool ID for the user pool.
|
public static CfnUserPoolUserToGroupAttachment.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnUserPoolUserToGroupAttachment.Builder
.public CfnUserPoolUserToGroupAttachment.Builder groupName(java.lang.String groupName)
groupName
- The group name. This parameter is required.this
public CfnUserPoolUserToGroupAttachment.Builder username(java.lang.String username)
username
- The username for the user. This parameter is required.this
public CfnUserPoolUserToGroupAttachment.Builder userPoolId(java.lang.String userPoolId)
userPoolId
- The user pool ID for the user pool. This parameter is required.this
public CfnUserPoolUserToGroupAttachment build()