public static interface DescribeSubnetsResponse.Builder extends EC2Response.Builder, CopyableBuilder<DescribeSubnetsResponse.Builder,DescribeSubnetsResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeSubnetsResponse.Builder |
subnets(Collection<Subnet> subnets)
Information about one or more subnets.
|
DescribeSubnetsResponse.Builder |
subnets(Consumer<Subnet.Builder>... subnets)
Information about one or more subnets.
|
DescribeSubnetsResponse.Builder |
subnets(Subnet... subnets)
Information about one or more subnets.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildDescribeSubnetsResponse.Builder subnets(Collection<Subnet> subnets)
Information about one or more subnets.
subnets - Information about one or more subnets.DescribeSubnetsResponse.Builder subnets(Subnet... subnets)
Information about one or more subnets.
subnets - Information about one or more subnets.DescribeSubnetsResponse.Builder subnets(Consumer<Subnet.Builder>... subnets)
Information about one or more subnets.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #subnets(List) .subnets - a consumer that will call methods on List.Builder #subnets(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.