public static interface NetworkConfiguration.Builder extends SdkPojo, CopyableBuilder<NetworkConfiguration.Builder,NetworkConfiguration>
| Modifier and Type | Method and Description |
|---|---|
NetworkConfiguration.Builder |
awsvpcConfiguration(AwsVpcConfiguration awsvpcConfiguration)
Specifies the Amazon 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)
Specifies the Amazon VPC subnets and security groups for the task, and whether a public IP address is to be
used.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildNetworkConfiguration.Builder awsvpcConfiguration(AwsVpcConfiguration awsvpcConfiguration)
Specifies the Amazon 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 - Specifies the Amazon 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)
Specifies the Amazon 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.
This is a convenience method that creates an instance of theAwsVpcConfiguration.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 © 2022. All rights reserved.