Class CfnSchedulePropsMixin.NetworkConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.scheduler.CfnSchedulePropsMixin.NetworkConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSchedulePropsMixin.NetworkConfigurationProperty>
- Enclosing interface:
CfnSchedulePropsMixin.NetworkConfigurationProperty
@Stability(Stable)
public static final class CfnSchedulePropsMixin.NetworkConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSchedulePropsMixin.NetworkConfigurationProperty>
A builder for
CfnSchedulePropsMixin.NetworkConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsvpcConfiguration(CfnSchedulePropsMixin.AwsVpcConfigurationProperty awsvpcConfiguration) awsvpcConfiguration(IResolvable awsvpcConfiguration) build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsvpcConfiguration
@Stability(Stable) public CfnSchedulePropsMixin.NetworkConfigurationProperty.Builder awsvpcConfiguration(IResolvable awsvpcConfiguration) - Parameters:
awsvpcConfiguration- Specifies the Amazon 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 the awsvpc network mode.- Returns:
this
-
awsvpcConfiguration
@Stability(Stable) public CfnSchedulePropsMixin.NetworkConfigurationProperty.Builder awsvpcConfiguration(CfnSchedulePropsMixin.AwsVpcConfigurationProperty awsvpcConfiguration) - Parameters:
awsvpcConfiguration- Specifies the Amazon 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 the awsvpc network mode.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSchedulePropsMixin.NetworkConfigurationProperty>- Returns:
- a new instance of
CfnSchedulePropsMixin.NetworkConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-