public static final class CfnUserToGroupAdditionProps.Builder
extends java.lang.Object
CfnUserToGroupAdditionProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnUserToGroupAdditionProps |
build()
Builds the configured instance.
|
CfnUserToGroupAdditionProps.Builder |
groupName(java.lang.String groupName)
Sets the value of
CfnUserToGroupAdditionProps.getGroupName() |
CfnUserToGroupAdditionProps.Builder |
users(java.util.List<java.lang.String> users)
Sets the value of
CfnUserToGroupAdditionProps.getUsers() |
public CfnUserToGroupAdditionProps.Builder groupName(java.lang.String groupName)
CfnUserToGroupAdditionProps.getGroupName()
groupName
- The name of the group to update. This parameter is required.
This parameter allows (through its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-this
public CfnUserToGroupAdditionProps.Builder users(java.util.List<java.lang.String> users)
CfnUserToGroupAdditionProps.getUsers()
users
- A list of the names of the users that you want to add to the group. This parameter is required.this
public CfnUserToGroupAdditionProps build()
CfnUserToGroupAdditionProps
java.lang.NullPointerException
- if any required attribute was not provided