public static interface NetworkConfiguration.Builder extends SdkPojo, CopyableBuilder<NetworkConfiguration.Builder,NetworkConfiguration>
| Modifier and Type | Method and Description |
|---|---|
NetworkConfiguration.Builder |
awsvpcConfiguration(AwsVpcConfiguration awsvpcConfiguration)
Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP
address is to be used.
|
default NetworkConfiguration.Builder |
awsvpcConfiguration(Consumer<AwsVpcConfiguration.Builder> awsvpcConfiguration)
Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP
address is to be used.
|
copyapplyMutation, buildNetworkConfiguration.Builder awsvpcConfiguration(AwsVpcConfiguration awsvpcConfiguration)
Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP
address is to be used. This structure is relevant only for ECS tasks that use the awsvpc network
mode.
awsvpcConfiguration - Use this structure to specify the VPC subnets and security groups for the task, and whether a public
IP address is to be used. This structure is relevant only for ECS tasks that use the
awsvpc network mode.default NetworkConfiguration.Builder awsvpcConfiguration(Consumer<AwsVpcConfiguration.Builder> awsvpcConfiguration)
Use this structure to specify the VPC subnets and security groups for the task, and whether a public IP
address is to be used. This structure is relevant only for ECS tasks that use the awsvpc network
mode.
AwsVpcConfiguration.Builder avoiding the need
to create one manually via AwsVpcConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to awsvpcConfiguration(AwsVpcConfiguration).awsvpcConfiguration - a consumer that will call methods on AwsVpcConfiguration.BuilderawsvpcConfiguration(AwsVpcConfiguration)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.