Class CfnNetworkSettings.Builder
java.lang.Object
software.amazon.awscdk.services.workspacesweb.CfnNetworkSettings.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkSettings>
- Enclosing class:
- CfnNetworkSettings
@Stability(Stable)
public static final class CfnNetworkSettings.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkSettings>
A fluent builder for
CfnNetworkSettings
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnNetworkSettings.Builder
securityGroupIds
(List<String> securityGroupIds) One or more security groups used to control access from streaming instances to your VPC.The subnets in which network interfaces are created to connect streaming instances to your VPC.The tags to add to the network settings resource.The VPC that streaming instances will connect to.
-
Method Details
-
create
@Stability(Stable) public static CfnNetworkSettings.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnNetworkSettings.Builder
.
-
securityGroupIds
@Stability(Stable) public CfnNetworkSettings.Builder securityGroupIds(List<String> securityGroupIds) One or more security groups used to control access from streaming instances to your VPC.Pattern :
^[\w+\-]+$
- Parameters:
securityGroupIds
- One or more security groups used to control access from streaming instances to your VPC. This parameter is required.- Returns:
this
- See Also:
-
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})$
- Parameters:
subnetIds
- The subnets in which network interfaces are created to connect streaming instances to your VPC. This parameter is required.- Returns:
this
- See Also:
-
vpcId
The VPC that streaming instances will connect to.Pattern :
^vpc-[0-9a-z]*$
- Parameters:
vpcId
- The VPC that streaming instances will connect to. This parameter is required.- Returns:
this
- See Also:
-
tags
The tags to add to the network settings resource.A tag is a key-value pair.
- Parameters:
tags
- The tags to add to the network settings resource. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnNetworkSettings>
- Returns:
- a newly built instance of
CfnNetworkSettings
.
-