Interface AwsVpcConfiguration.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<AwsVpcConfiguration.Builder,,- AwsVpcConfiguration> - SdkBuilder<AwsVpcConfiguration.Builder,,- AwsVpcConfiguration> - SdkPojo
- Enclosing class:
- AwsVpcConfiguration
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
assignPublicIpSpecifies 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 specify- ENABLEDonly when- LaunchTypein- EcsParametersis set to- FARGATE.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
assignPublicIpSpecifies 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 specify- ENABLEDonly when- LaunchTypein- EcsParametersis set to- FARGATE.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
securityGroupsSpecifies 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.
 
- 
securityGroupsSpecifies 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.
 
- 
subnetsSpecifies 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.
 
- 
subnetsSpecifies 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.
 
 
-