Class CfnUserToGroupAdditionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iam.CfnUserToGroupAdditionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserToGroupAdditionMixinProps>
- Enclosing interface:
CfnUserToGroupAdditionMixinProps
@Stability(Stable)
public static final class CfnUserToGroupAdditionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserToGroupAdditionMixinProps>
A builder for
CfnUserToGroupAdditionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnUserToGroupAdditionMixinProps.getGroupName()Sets the value ofCfnUserToGroupAdditionMixinProps.getUsers()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
groupName
Sets the value ofCfnUserToGroupAdditionMixinProps.getGroupName()- Parameters:
groupName- The name of the group to update. 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: _+=,.@-- Returns:
this
-
users
Sets the value ofCfnUserToGroupAdditionMixinProps.getUsers()- Parameters:
users- A list of the names of the users that you want to add to the group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserToGroupAdditionMixinProps>- Returns:
- a new instance of
CfnUserToGroupAdditionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-