Class CfnWorkspace.VpcConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.grafana.CfnWorkspace.VpcConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspace.VpcConfigurationProperty>
- Enclosing interface:
- CfnWorkspace.VpcConfigurationProperty
@Stability(Stable)
public static final class CfnWorkspace.VpcConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspace.VpcConfigurationProperty>
A builder for
CfnWorkspace.VpcConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.securityGroupIds
(List<String> securityGroupIds) Sets the value ofCfnWorkspace.VpcConfigurationProperty.getSecurityGroupIds()
Sets the value ofCfnWorkspace.VpcConfigurationProperty.getSubnetIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroupIds
@Stability(Stable) public CfnWorkspace.VpcConfigurationProperty.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnWorkspace.VpcConfigurationProperty.getSecurityGroupIds()
- Parameters:
securityGroupIds
- The list of Amazon EC2 security group IDs attached to the Amazon VPC for your Grafana workspace to connect. This parameter is required. Duplicates not allowed.Array Members : Minimum number of 1 items. Maximum number of 5 items.
Length : Minimum length of 0. Maximum length of 255.
- Returns:
this
-
subnetIds
@Stability(Stable) public CfnWorkspace.VpcConfigurationProperty.Builder subnetIds(List<String> subnetIds) Sets the value ofCfnWorkspace.VpcConfigurationProperty.getSubnetIds()
- Parameters:
subnetIds
- The list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana workspace to connect. This parameter is required. Duplicates not allowed.Array Members : Minimum number of 2 items. Maximum number of 6 items.
Length : Minimum length of 0. Maximum length of 255.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnWorkspace.VpcConfigurationProperty>
- Returns:
- a new instance of
CfnWorkspace.VpcConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-