Class CfnWorkspaceIpGroupMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.workspaces.CfnWorkspaceIpGroupMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspaceIpGroupMixinProps>
- Enclosing interface:
CfnWorkspaceIpGroupMixinProps
@Stability(Stable)
public static final class CfnWorkspaceIpGroupMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspaceIpGroupMixinProps>
A builder for
CfnWorkspaceIpGroupMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWorkspaceIpGroupMixinProps.getGroupDesc()Sets the value ofCfnWorkspaceIpGroupMixinProps.getGroupName()Sets the value ofCfnWorkspaceIpGroupMixinProps.getTags()Sets the value ofCfnWorkspaceIpGroupMixinProps.getUserRules()userRules(IResolvable userRules) Sets the value ofCfnWorkspaceIpGroupMixinProps.getUserRules()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
groupDesc
Sets the value ofCfnWorkspaceIpGroupMixinProps.getGroupDesc()- Parameters:
groupDesc- The description of the group.- Returns:
this
-
groupName
Sets the value ofCfnWorkspaceIpGroupMixinProps.getGroupName()- Parameters:
groupName- The name of the group.- Returns:
this
-
tags
Sets the value ofCfnWorkspaceIpGroupMixinProps.getTags()- Parameters:
tags- The tags for the IP access control group.- Returns:
this
-
userRules
Sets the value ofCfnWorkspaceIpGroupMixinProps.getUserRules()- Parameters:
userRules- The rules for the IP access control group.- Returns:
this
-
userRules
@Stability(Stable) public CfnWorkspaceIpGroupMixinProps.Builder userRules(List<? extends Object> userRules) Sets the value ofCfnWorkspaceIpGroupMixinProps.getUserRules()- Parameters:
userRules- The rules for the IP access control group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspaceIpGroupMixinProps>- Returns:
- a new instance of
CfnWorkspaceIpGroupMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-