Interface AwsVpcConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AwsVpcConfiguration.Builder,,AwsVpcConfiguration> SdkBuilder<AwsVpcConfiguration.Builder,,AwsVpcConfiguration> SdkPojo
- Enclosing class:
AwsVpcConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionassignPublicIp(String assignPublicIp) Specifies whether the task's elastic network interface receives a public IP address.assignPublicIp(AssignPublicIp assignPublicIp) Specifies whether the task's elastic network interface receives a public IP address.securityGroups(String... securityGroups) Specifies the security groups associated with the task.securityGroups(Collection<String> securityGroups) Specifies the security groups associated with the task.Specifies the subnets associated with the task.subnets(Collection<String> subnets) Specifies the subnets associated with the task.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
subnets
Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as 16 subnets.
- Parameters:
subnets- Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as 16 subnets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as 16 subnets.
- Parameters:
subnets- Specifies the subnets associated with the task. These subnets must all be in the same VPC. You can specify as many as 16 subnets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
Specifies the security groups associated with the task. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.
- Parameters:
securityGroups- Specifies the security groups associated with the task. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
Specifies the security groups associated with the task. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.
- Parameters:
securityGroups- Specifies the security groups associated with the task. These security groups must all be in the same VPC. You can specify as many as five security groups. If you do not specify a security group, the default security group for the VPC is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignPublicIp
Specifies whether the task's elastic network interface receives a public IP address. You can specify
ENABLEDonly whenLaunchTypeinEcsParametersis set toFARGATE.- Parameters:
assignPublicIp- Specifies whether the task's elastic network interface receives a public IP address. You can specifyENABLEDonly whenLaunchTypeinEcsParametersis set toFARGATE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
assignPublicIp
Specifies whether the task's elastic network interface receives a public IP address. You can specify
ENABLEDonly whenLaunchTypeinEcsParametersis set toFARGATE.- Parameters:
assignPublicIp- Specifies whether the task's elastic network interface receives a public IP address. You can specifyENABLEDonly whenLaunchTypeinEcsParametersis set toFARGATE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-