Class CfnPipe.NetworkConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pipes.CfnPipe.NetworkConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipe.NetworkConfigurationProperty>
- Enclosing interface:
CfnPipe.NetworkConfigurationProperty
@Stability(Stable)
public static final class CfnPipe.NetworkConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipe.NetworkConfigurationProperty>
A builder for
CfnPipe.NetworkConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsvpcConfiguration(IResolvable awsvpcConfiguration) Sets the value ofCfnPipe.NetworkConfigurationProperty.getAwsvpcConfiguration()awsvpcConfiguration(CfnPipe.AwsVpcConfigurationProperty awsvpcConfiguration) Sets the value ofCfnPipe.NetworkConfigurationProperty.getAwsvpcConfiguration()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsvpcConfiguration
@Stability(Stable) public CfnPipe.NetworkConfigurationProperty.Builder awsvpcConfiguration(IResolvable awsvpcConfiguration) Sets the value ofCfnPipe.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 CfnPipe.NetworkConfigurationProperty.Builder awsvpcConfiguration(CfnPipe.AwsVpcConfigurationProperty awsvpcConfiguration) Sets the value ofCfnPipe.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<CfnPipe.NetworkConfigurationProperty>- Returns:
- a new instance of
CfnPipe.NetworkConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-