Class CfnServicePropsMixin.NetworkConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnServicePropsMixin.NetworkConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServicePropsMixin.NetworkConfigurationProperty>
- Enclosing interface:
CfnServicePropsMixin.NetworkConfigurationProperty
@Stability(Stable)
public static final class CfnServicePropsMixin.NetworkConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServicePropsMixin.NetworkConfigurationProperty>
A builder for
CfnServicePropsMixin.NetworkConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsvpcConfiguration(CfnServicePropsMixin.AwsVpcConfigurationProperty awsvpcConfiguration) awsvpcConfiguration(IResolvable awsvpcConfiguration) build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsvpcConfiguration
@Stability(Stable) public CfnServicePropsMixin.NetworkConfigurationProperty.Builder awsvpcConfiguration(IResolvable awsvpcConfiguration) - Parameters:
awsvpcConfiguration- The VPC subnets and security groups that are associated with a task.All specified subnets and security groups must be from the same VPC.
- Returns:
this
-
awsvpcConfiguration
@Stability(Stable) public CfnServicePropsMixin.NetworkConfigurationProperty.Builder awsvpcConfiguration(CfnServicePropsMixin.AwsVpcConfigurationProperty awsvpcConfiguration) - Parameters:
awsvpcConfiguration- The VPC subnets and security groups that are associated with a task.All specified subnets and security groups must be from the same VPC.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServicePropsMixin.NetworkConfigurationProperty>- Returns:
- a new instance of
CfnServicePropsMixin.NetworkConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-