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) Whether the task's elastic network interface receives a public IP address.assignPublicIp
(AssignPublicIp assignPublicIp) Whether the task's elastic network interface receives a public IP address.securityGroups
(String... securityGroups) The IDs of the security groups associated with the task or service.securityGroups
(Collection<String> securityGroups) The IDs of the security groups associated with the task or service.The IDs of the subnets associated with the task or service.subnets
(Collection<String> subnets) The IDs of the subnets associated with the task or service.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
subnets
The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified.
All specified subnets must be from the same VPC.
- Parameters:
subnets
- The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified.All specified subnets must be from the same VPC.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified.
All specified subnets must be from the same VPC.
- Parameters:
subnets
- The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified.All specified subnets must be from the same VPC.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified.
All specified security groups must be from the same VPC.
- Parameters:
securityGroups
- The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified.All specified security groups must be from the same VPC.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified.
All specified security groups must be from the same VPC.
- Parameters:
securityGroups
- The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified.All specified security groups must be from the same VPC.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignPublicIp
Whether the task's elastic network interface receives a public IP address.
Consider the following when you set this value:
-
When you use
create-service
orupdate-service
, the default isDISABLED
. -
When the service
deploymentController
isECS
, the value must beDISABLED
.
- Parameters:
assignPublicIp
- Whether the task's elastic network interface receives a public IP address.Consider the following when you set this value:
-
When you use
create-service
orupdate-service
, the default isDISABLED
. -
When the service
deploymentController
isECS
, the value must beDISABLED
.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
assignPublicIp
Whether the task's elastic network interface receives a public IP address.
Consider the following when you set this value:
-
When you use
create-service
orupdate-service
, the default isDISABLED
. -
When the service
deploymentController
isECS
, the value must beDISABLED
.
- Parameters:
assignPublicIp
- Whether the task's elastic network interface receives a public IP address.Consider the following when you set this value:
-
When you use
create-service
orupdate-service
, the default isDISABLED
. -
When the service
deploymentController
isECS
, the value must beDISABLED
.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-