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, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeSubnetsResponse.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 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)
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 © 2022. All rights reserved.