public static interface DescribeInstancesResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeInstancesResponse.Builder,DescribeInstancesResponse>
Modifier and Type | Method and Description |
---|---|
DescribeInstancesResponse.Builder |
nextToken(String nextToken)
The token to use to retrieve the next page of results.
|
DescribeInstancesResponse.Builder |
reservations(Collection<Reservation> reservations)
Information about the reservations.
|
DescribeInstancesResponse.Builder |
reservations(Consumer<Reservation.Builder>... reservations)
Information about the reservations.
|
DescribeInstancesResponse.Builder |
reservations(Reservation... reservations)
Information about the reservations.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeInstancesResponse.Builder reservations(Collection<Reservation> reservations)
Information about the reservations.
reservations
- Information about the reservations.DescribeInstancesResponse.Builder reservations(Reservation... reservations)
Information about the reservations.
reservations
- Information about the reservations.DescribeInstancesResponse.Builder reservations(Consumer<Reservation.Builder>... reservations)
Information about the reservations.
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 #reservations(List)
.reservations
- a consumer that will call methods on List.Builder
#reservations(List)
DescribeInstancesResponse.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 © 2019. All rights reserved.