Class CfnIpAccessSettingsPropsMixin.IpRuleProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.workspacesweb.CfnIpAccessSettingsPropsMixin.IpRuleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIpAccessSettingsPropsMixin.IpRuleProperty>
- Enclosing interface:
CfnIpAccessSettingsPropsMixin.IpRuleProperty
@Stability(Stable)
public static final class CfnIpAccessSettingsPropsMixin.IpRuleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIpAccessSettingsPropsMixin.IpRuleProperty>
A builder for
CfnIpAccessSettingsPropsMixin.IpRuleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnIpAccessSettingsPropsMixin.IpRuleProperty.getDescription()Sets the value ofCfnIpAccessSettingsPropsMixin.IpRuleProperty.getIpRange()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
@Stability(Stable) public CfnIpAccessSettingsPropsMixin.IpRuleProperty.Builder description(String description) Sets the value ofCfnIpAccessSettingsPropsMixin.IpRuleProperty.getDescription()- Parameters:
description- The description of the IP rule.- Returns:
this
-
ipRange
@Stability(Stable) public CfnIpAccessSettingsPropsMixin.IpRuleProperty.Builder ipRange(String ipRange) Sets the value ofCfnIpAccessSettingsPropsMixin.IpRuleProperty.getIpRange()- Parameters:
ipRange- The IP range of the IP rule. This can either be a single IP address or a range using CIDR notation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIpAccessSettingsPropsMixin.IpRuleProperty>- Returns:
- a new instance of
CfnIpAccessSettingsPropsMixin.IpRuleProperty - Throws:
NullPointerException- if any required attribute was not provided
-