Class CfnPipePropsMixin.NetworkConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pipes.CfnPipePropsMixin.NetworkConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipePropsMixin.NetworkConfigurationProperty>
- Enclosing interface:
CfnPipePropsMixin.NetworkConfigurationProperty
@Stability(Stable)
public static final class CfnPipePropsMixin.NetworkConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipePropsMixin.NetworkConfigurationProperty>
A builder for
CfnPipePropsMixin.NetworkConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsvpcConfiguration(CfnPipePropsMixin.AwsVpcConfigurationProperty awsvpcConfiguration) Sets the value ofCfnPipePropsMixin.NetworkConfigurationProperty.getAwsvpcConfiguration()awsvpcConfiguration(IResolvable awsvpcConfiguration) Sets the value ofCfnPipePropsMixin.NetworkConfigurationProperty.getAwsvpcConfiguration()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsvpcConfiguration
@Stability(Stable) public CfnPipePropsMixin.NetworkConfigurationProperty.Builder awsvpcConfiguration(IResolvable awsvpcConfiguration) Sets the value ofCfnPipePropsMixin.NetworkConfigurationProperty.getAwsvpcConfiguration()- Parameters:
awsvpcConfiguration- Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP address is to be used. This structure is relevant only for ECS tasks that use theawsvpcnetwork mode.- Returns:
this
-
awsvpcConfiguration
@Stability(Stable) public CfnPipePropsMixin.NetworkConfigurationProperty.Builder awsvpcConfiguration(CfnPipePropsMixin.AwsVpcConfigurationProperty awsvpcConfiguration) Sets the value ofCfnPipePropsMixin.NetworkConfigurationProperty.getAwsvpcConfiguration()- Parameters:
awsvpcConfiguration- Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP address is to be used. This structure is relevant only for ECS tasks that use theawsvpcnetwork mode.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipePropsMixin.NetworkConfigurationProperty>- Returns:
- a new instance of
CfnPipePropsMixin.NetworkConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-