Class CfnNetworkSettingsMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.workspacesweb.CfnNetworkSettingsMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkSettingsMixinProps>
- Enclosing interface:
CfnNetworkSettingsMixinProps
@Stability(Stable)
public static final class CfnNetworkSettingsMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkSettingsMixinProps>
A builder for
CfnNetworkSettingsMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnNetworkSettingsMixinProps.getSecurityGroupIds()Sets the value ofCfnNetworkSettingsMixinProps.getSubnetIds()Sets the value ofCfnNetworkSettingsMixinProps.getTags()Sets the value ofCfnNetworkSettingsMixinProps.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroupIds
@Stability(Stable) public CfnNetworkSettingsMixinProps.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnNetworkSettingsMixinProps.getSecurityGroupIds()- Parameters:
securityGroupIds- One or more security groups used to control access from streaming instances to your VPC. Pattern :^[\w+\-]+$- Returns:
this
-
subnetIds
Sets the value ofCfnNetworkSettingsMixinProps.getSubnetIds()- Parameters:
subnetIds- The subnets in which network interfaces are created to connect streaming instances to your VPC. At least two of these subnets must be in different availability zones.Pattern :
^subnet-([0-9a-f]{8}|[0-9a-f]{17})$- Returns:
this
-
tags
Sets the value ofCfnNetworkSettingsMixinProps.getTags()- Parameters:
tags- The tags to add to the network settings resource. A tag is a key-value pair.- Returns:
this
-
vpcId
Sets the value ofCfnNetworkSettingsMixinProps.getVpcId()- Parameters:
vpcId- The VPC that streaming instances will connect to. Pattern :^vpc-[0-9a-z]*$- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNetworkSettingsMixinProps>- Returns:
- a new instance of
CfnNetworkSettingsMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-