public static final class CfnUserPoolUserToGroupAttachmentProps.Builder
extends java.lang.Object
CfnUserPoolUserToGroupAttachmentProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnUserPoolUserToGroupAttachmentProps |
build()
Builds the configured instance.
|
CfnUserPoolUserToGroupAttachmentProps.Builder |
groupName(java.lang.String groupName)
Sets the value of
CfnUserPoolUserToGroupAttachmentProps.getGroupName() |
CfnUserPoolUserToGroupAttachmentProps.Builder |
username(java.lang.String username)
Sets the value of
CfnUserPoolUserToGroupAttachmentProps.getUsername() |
CfnUserPoolUserToGroupAttachmentProps.Builder |
userPoolId(java.lang.String userPoolId)
Sets the value of
CfnUserPoolUserToGroupAttachmentProps.getUserPoolId() |
public CfnUserPoolUserToGroupAttachmentProps.Builder groupName(java.lang.String groupName)
CfnUserPoolUserToGroupAttachmentProps.getGroupName()
groupName
- The group name. This parameter is required.this
public CfnUserPoolUserToGroupAttachmentProps.Builder username(java.lang.String username)
CfnUserPoolUserToGroupAttachmentProps.getUsername()
username
- The username for the user. This parameter is required.this
public CfnUserPoolUserToGroupAttachmentProps.Builder userPoolId(java.lang.String userPoolId)
CfnUserPoolUserToGroupAttachmentProps.getUserPoolId()
userPoolId
- The user pool ID for the user pool. This parameter is required.this
public CfnUserPoolUserToGroupAttachmentProps build()
CfnUserPoolUserToGroupAttachmentProps
java.lang.NullPointerException
- if any required attribute was not provided