Interface AwsVpcConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsVpcConfiguration.Builder,AwsVpcConfiguration>,SdkBuilder<AwsVpcConfiguration.Builder,AwsVpcConfiguration>,SdkPojo
- Enclosing class:
- AwsVpcConfiguration
public static interface AwsVpcConfiguration.Builder extends SdkPojo, CopyableBuilder<AwsVpcConfiguration.Builder,AwsVpcConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsVpcConfiguration.BuilderassignPublicIp(String assignPublicIp)Specifies whether the task's elastic network interface receives a public IP address.AwsVpcConfiguration.BuilderassignPublicIp(AssignPublicIp assignPublicIp)Specifies whether the task's elastic network interface receives a public IP address.AwsVpcConfiguration.BuildersecurityGroups(String... securityGroups)Specifies the security groups associated with the task.AwsVpcConfiguration.BuildersecurityGroups(Collection<String> securityGroups)Specifies the security groups associated with the task.AwsVpcConfiguration.Buildersubnets(String... subnets)Specifies the subnets associated with the task.AwsVpcConfiguration.Buildersubnets(Collection<String> subnets)Specifies the subnets associated with the task.-
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
-
subnets
AwsVpcConfiguration.Builder subnets(Collection<String> 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
AwsVpcConfiguration.Builder subnets(String... 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
AwsVpcConfiguration.Builder securityGroups(Collection<String> 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
AwsVpcConfiguration.Builder securityGroups(String... 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
AwsVpcConfiguration.Builder assignPublicIp(String 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,AssignPublicIp
-
assignPublicIp
AwsVpcConfiguration.Builder assignPublicIp(AssignPublicIp 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,AssignPublicIp
-
-