Class CfnEndpointConfig.VpcConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnEndpointConfig.VpcConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointConfig.VpcConfigProperty>
- Enclosing interface:
CfnEndpointConfig.VpcConfigProperty
@Stability(Stable)
public static final class CfnEndpointConfig.VpcConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpointConfig.VpcConfigProperty>
A builder for
CfnEndpointConfig.VpcConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.securityGroupIds
(List<String> securityGroupIds) Sets the value ofCfnEndpointConfig.VpcConfigProperty.getSecurityGroupIds()
Sets the value ofCfnEndpointConfig.VpcConfigProperty.getSubnets()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroupIds
@Stability(Stable) public CfnEndpointConfig.VpcConfigProperty.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnEndpointConfig.VpcConfigProperty.getSecurityGroupIds()
- Parameters:
securityGroupIds
- the value to be set. This parameter is required.- Returns:
this
-
subnets
Sets the value ofCfnEndpointConfig.VpcConfigProperty.getSubnets()
- Parameters:
subnets
- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEndpointConfig.VpcConfigProperty>
- Returns:
- a new instance of
CfnEndpointConfig.VpcConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-