Interface AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails.Builder,AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails>,SdkBuilder<AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails.Builder,AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails>,SdkPojo
- Enclosing class:
- AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails
public static interface AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails.Builder extends SdkPojo, CopyableBuilder<AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails.Builder,AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails.BuilderassignPublicIp(String assignPublicIp)Whether the task's elastic network interface receives a public IP address.AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails.BuildersecurityGroups(String... securityGroups)The IDs of the security groups associated with the task or service.AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails.BuildersecurityGroups(Collection<String> securityGroups)The IDs of the security groups associated with the task or service.AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails.Buildersubnets(String... subnets)The IDs of the subnets associated with the task or service.AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails.Buildersubnets(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, sdkFields
-
-
-
-
Method Detail
-
assignPublicIp
AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails.Builder assignPublicIp(String assignPublicIp)
Whether the task's elastic network interface receives a public IP address. The default value is
DISABLED.Valid values:
ENABLED|DISABLED- Parameters:
assignPublicIp- Whether the task's elastic network interface receives a public IP address. The default value isDISABLED.Valid values:
ENABLED|DISABLED- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails.Builder securityGroups(Collection<String> securityGroups)
The IDs of the security groups associated with the task or service.
You can provide up to five security groups.
- Parameters:
securityGroups- The IDs of the security groups associated with the task or service.You can provide up to five security groups.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails.Builder securityGroups(String... securityGroups)
The IDs of the security groups associated with the task or service.
You can provide up to five security groups.
- Parameters:
securityGroups- The IDs of the security groups associated with the task or service.You can provide up to five security groups.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails.Builder subnets(Collection<String> subnets)
The IDs of the subnets associated with the task or service.
You can provide up to 16 subnets.
- Parameters:
subnets- The IDs of the subnets associated with the task or service.You can provide up to 16 subnets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnets
AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails.Builder subnets(String... subnets)
The IDs of the subnets associated with the task or service.
You can provide up to 16 subnets.
- Parameters:
subnets- The IDs of the subnets associated with the task or service.You can provide up to 16 subnets.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-