Class CfnWorkspaceIpGroup.IpRuleItemProperty.Builder
java.lang.Object
software.amazon.awscdk.services.workspaces.CfnWorkspaceIpGroup.IpRuleItemProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspaceIpGroup.IpRuleItemProperty>
- Enclosing interface:
CfnWorkspaceIpGroup.IpRuleItemProperty
@Stability(Stable)
public static final class CfnWorkspaceIpGroup.IpRuleItemProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspaceIpGroup.IpRuleItemProperty>
A builder for
CfnWorkspaceIpGroup.IpRuleItemProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWorkspaceIpGroup.IpRuleItemProperty.getIpRule()Sets the value ofCfnWorkspaceIpGroup.IpRuleItemProperty.getRuleDesc()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipRule
Sets the value ofCfnWorkspaceIpGroup.IpRuleItemProperty.getIpRule()- Parameters:
ipRule- The IP address range, in CIDR notation. This parameter is required.- Returns:
this
-
ruleDesc
Sets the value ofCfnWorkspaceIpGroup.IpRuleItemProperty.getRuleDesc()- Parameters:
ruleDesc- The description of the rule.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspaceIpGroup.IpRuleItemProperty>- Returns:
- a new instance of
CfnWorkspaceIpGroup.IpRuleItemProperty - Throws:
NullPointerException- if any required attribute was not provided
-