public static interface NetworkConfiguration.Builder extends SdkPojo, CopyableBuilder<NetworkConfiguration.Builder,NetworkConfiguration>
Modifier and Type | Method and Description |
---|---|
NetworkConfiguration.Builder |
awsvpcConfiguration(AwsVpcConfiguration awsvpcConfiguration)
The VPC subnets and security groups associated with a task.
|
default NetworkConfiguration.Builder |
awsvpcConfiguration(Consumer<AwsVpcConfiguration.Builder> awsvpcConfiguration)
The VPC subnets and security groups associated with a task.
|
copy
applyMutation, build
NetworkConfiguration.Builder awsvpcConfiguration(AwsVpcConfiguration awsvpcConfiguration)
The VPC subnets and security groups associated with a task.
All specified subnets and security groups must be from the same VPC.
awsvpcConfiguration
- The VPC subnets and security groups associated with a task. All specified subnets and security groups must be from the same VPC.
default NetworkConfiguration.Builder awsvpcConfiguration(Consumer<AwsVpcConfiguration.Builder> awsvpcConfiguration)
The VPC subnets and security groups associated with a task.
All specified subnets and security groups must be from the same VPC.
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.Builder
awsvpcConfiguration(AwsVpcConfiguration)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.