Package com.pulumi.aws.scheduler.inputs
Class ScheduleTargetEcsParametersNetworkConfigurationArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.scheduler.inputs.ScheduleTargetEcsParametersNetworkConfigurationArgs.Builder
-
- Enclosing class:
- ScheduleTargetEcsParametersNetworkConfigurationArgs
public static final class ScheduleTargetEcsParametersNetworkConfigurationArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ScheduleTargetEcsParametersNetworkConfigurationArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ScheduleTargetEcsParametersNetworkConfigurationArgs defaults)
-
-
Method Detail
-
assignPublicIp
public ScheduleTargetEcsParametersNetworkConfigurationArgs.Builder assignPublicIp(@Nullable com.pulumi.core.Output<java.lang.Boolean> assignPublicIp)
- Parameters:
assignPublicIp
- Specifies whether the task's elastic network interface receives a public IP address. This attribute is a boolean type, where `true` maps to `ENABLED` and `false` to `DISABLED`. You can specify `true` only when the `launch_type` is set to `FARGATE`.- Returns:
- builder
-
assignPublicIp
public ScheduleTargetEcsParametersNetworkConfigurationArgs.Builder assignPublicIp(java.lang.Boolean assignPublicIp)
- Parameters:
assignPublicIp
- Specifies whether the task's elastic network interface receives a public IP address. This attribute is a boolean type, where `true` maps to `ENABLED` and `false` to `DISABLED`. You can specify `true` only when the `launch_type` is set to `FARGATE`.- Returns:
- builder
-
securityGroups
public ScheduleTargetEcsParametersNetworkConfigurationArgs.Builder securityGroups(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroups)
- Parameters:
securityGroups
- Set of 1 to 5 Security Group ID-s to be associated with the task. These security groups must all be in the same VPC.- Returns:
- builder
-
securityGroups
public ScheduleTargetEcsParametersNetworkConfigurationArgs.Builder securityGroups(java.util.List<java.lang.String> securityGroups)
- Parameters:
securityGroups
- Set of 1 to 5 Security Group ID-s to be associated with the task. These security groups must all be in the same VPC.- Returns:
- builder
-
securityGroups
public ScheduleTargetEcsParametersNetworkConfigurationArgs.Builder securityGroups(java.lang.String... securityGroups)
- Parameters:
securityGroups
- Set of 1 to 5 Security Group ID-s to be associated with the task. These security groups must all be in the same VPC.- Returns:
- builder
-
subnets
public ScheduleTargetEcsParametersNetworkConfigurationArgs.Builder subnets(com.pulumi.core.Output<java.util.List<java.lang.String>> subnets)
- Parameters:
subnets
- Set of 1 to 16 subnets to be associated with the task. These subnets must all be in the same VPC.- Returns:
- builder
-
subnets
public ScheduleTargetEcsParametersNetworkConfigurationArgs.Builder subnets(java.util.List<java.lang.String> subnets)
- Parameters:
subnets
- Set of 1 to 16 subnets to be associated with the task. These subnets must all be in the same VPC.- Returns:
- builder
-
subnets
public ScheduleTargetEcsParametersNetworkConfigurationArgs.Builder subnets(java.lang.String... subnets)
- Parameters:
subnets
- Set of 1 to 16 subnets to be associated with the task. These subnets must all be in the same VPC.- Returns:
- builder
-
build
public ScheduleTargetEcsParametersNetworkConfigurationArgs build()
-
-