public static interface AwsVpcConfiguration.Builder extends SdkPojo, CopyableBuilder<AwsVpcConfiguration.Builder,AwsVpcConfiguration>
Modifier and Type | Method and Description |
---|---|
AwsVpcConfiguration.Builder |
assignPublicIp(AssignPublicIp assignPublicIp)
Specifies whether the task's elastic network interface receives a public IP address.
|
AwsVpcConfiguration.Builder |
assignPublicIp(String assignPublicIp)
Specifies whether the task's elastic network interface receives a public IP address.
|
AwsVpcConfiguration.Builder |
securityGroups(Collection<String> securityGroups)
Specifies the security groups associated with the task.
|
AwsVpcConfiguration.Builder |
securityGroups(String... securityGroups)
Specifies the security groups associated with the task.
|
AwsVpcConfiguration.Builder |
subnets(Collection<String> subnets)
Specifies the subnets associated with the task.
|
AwsVpcConfiguration.Builder |
subnets(String... subnets)
Specifies the subnets associated with the task.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
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.
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.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.
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.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.
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.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.
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.AwsVpcConfiguration.Builder assignPublicIp(String assignPublicIp)
Specifies whether the task's elastic network interface receives a public IP address. You can specify
ENABLED
only when LaunchType
in EcsParameters
is set to
FARGATE
.
assignPublicIp
- Specifies whether the task's elastic network interface receives a public IP address. You can specify
ENABLED
only when LaunchType
in EcsParameters
is set to
FARGATE
.AssignPublicIp
,
AssignPublicIp
AwsVpcConfiguration.Builder assignPublicIp(AssignPublicIp assignPublicIp)
Specifies whether the task's elastic network interface receives a public IP address. You can specify
ENABLED
only when LaunchType
in EcsParameters
is set to
FARGATE
.
assignPublicIp
- Specifies whether the task's elastic network interface receives a public IP address. You can specify
ENABLED
only when LaunchType
in EcsParameters
is set to
FARGATE
.AssignPublicIp
,
AssignPublicIp
Copyright © 2022. All rights reserved.