Class CfnAnomalyDetectorPropsMixin.VpcConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.lookoutmetrics.mixins.CfnAnomalyDetectorPropsMixin.VpcConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin.VpcConfigurationProperty>
- Enclosing interface:
CfnAnomalyDetectorPropsMixin.VpcConfigurationProperty
@Stability(Stable)
public static final class CfnAnomalyDetectorPropsMixin.VpcConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin.VpcConfigurationProperty>
A builder for
CfnAnomalyDetectorPropsMixin.VpcConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.securityGroupIdList(List<String> securityGroupIdList) subnetIdList(List<String> subnetIdList) Sets the value ofCfnAnomalyDetectorPropsMixin.VpcConfigurationProperty.getSubnetIdList()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroupIdList
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.VpcConfigurationProperty.Builder securityGroupIdList(List<String> securityGroupIdList) - Parameters:
securityGroupIdList- An array of strings containing the list of security groups.- Returns:
this
-
subnetIdList
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.VpcConfigurationProperty.Builder subnetIdList(List<String> subnetIdList) Sets the value ofCfnAnomalyDetectorPropsMixin.VpcConfigurationProperty.getSubnetIdList()- Parameters:
subnetIdList- An array of strings containing the Amazon VPC subnet IDs (e.g.,subnet-0bb1c79de3EXAMPLE.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin.VpcConfigurationProperty>- Returns:
- a new instance of
CfnAnomalyDetectorPropsMixin.VpcConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-