public static interface DescribeSubnetsResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeSubnetsResponse.Builder,DescribeSubnetsResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeSubnetsResponse.Builder |
nextToken(String nextToken)
The token to use to retrieve the next page of results.
|
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.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, 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 method that creates an instance of theSubnet.Builder avoiding the need to create one manually via
Subnet.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to #subnets(List.
subnets - a consumer that will call methods on Subnet.Builder#subnets(java.util.Collection) DescribeSubnetsResponse.Builder nextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null when there are no more
results to return.
nextToken - The token to use to retrieve the next page of results. This value is null when there are
no more results to return.Copyright © 2023. All rights reserved.