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