public static interface AwsVpcConfiguration.Builder extends SdkPojo, CopyableBuilder<AwsVpcConfiguration.Builder,AwsVpcConfiguration>
Modifier and Type | Method and Description |
---|---|
AwsVpcConfiguration.Builder |
assignPublicIp(AssignPublicIp assignPublicIp)
Whether the task's elastic network interface receives a public IP address.
|
AwsVpcConfiguration.Builder |
assignPublicIp(String assignPublicIp)
Whether the task's elastic network interface receives a public IP address.
|
AwsVpcConfiguration.Builder |
securityGroups(Collection<String> securityGroups)
The security groups associated with the task or service.
|
AwsVpcConfiguration.Builder |
securityGroups(String... securityGroups)
The security groups associated with the task or service.
|
AwsVpcConfiguration.Builder |
subnets(Collection<String> subnets)
The subnets associated with the task or service.
|
AwsVpcConfiguration.Builder |
subnets(String... subnets)
The subnets associated with the task or service.
|
copy
applyMutation, build
AwsVpcConfiguration.Builder subnets(Collection<String> subnets)
The subnets associated with the task or service. There is a limit of 16 subnets able to be specified per
AwsVpcConfiguration
.
All specified subnets must be from the same VPC.
subnets
- The subnets associated with the task or service. There is a limit of 16 subnets able to be specified
per AwsVpcConfiguration
. All specified subnets must be from the same VPC.
AwsVpcConfiguration.Builder subnets(String... subnets)
The subnets associated with the task or service. There is a limit of 16 subnets able to be specified per
AwsVpcConfiguration
.
All specified subnets must be from the same VPC.
subnets
- The subnets associated with the task or service. There is a limit of 16 subnets able to be specified
per AwsVpcConfiguration
. All specified subnets must be from the same VPC.
AwsVpcConfiguration.Builder securityGroups(Collection<String> securityGroups)
The security groups associated with the task or service. If you do not specify a security group, the default
security group for the VPC is used. There is a limit of five security groups able to be specified per
AwsVpcConfiguration
.
All specified security groups must be from the same VPC.
securityGroups
- The security groups associated with the task or service. If you do not specify a security group, the
default security group for the VPC is used. There is a limit of five security groups able to be
specified per AwsVpcConfiguration
. All specified security groups must be from the same VPC.
AwsVpcConfiguration.Builder securityGroups(String... securityGroups)
The security groups associated with the task or service. If you do not specify a security group, the default
security group for the VPC is used. There is a limit of five security groups able to be specified per
AwsVpcConfiguration
.
All specified security groups must be from the same VPC.
securityGroups
- The security groups associated with the task or service. If you do not specify a security group, the
default security group for the VPC is used. There is a limit of five security groups able to be
specified per AwsVpcConfiguration
. All specified security groups must be from the same VPC.
AwsVpcConfiguration.Builder assignPublicIp(String assignPublicIp)
Whether the task's elastic network interface receives a public IP address. The default value is
DISABLED
.
assignPublicIp
- Whether the task's elastic network interface receives a public IP address. The default value is
DISABLED
.AssignPublicIp
,
AssignPublicIp
AwsVpcConfiguration.Builder assignPublicIp(AssignPublicIp assignPublicIp)
Whether the task's elastic network interface receives a public IP address. The default value is
DISABLED
.
assignPublicIp
- Whether the task's elastic network interface receives a public IP address. The default value is
DISABLED
.AssignPublicIp
,
AssignPublicIp
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.