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 include in another request to get the next page of items.
|
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, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeInstancesResponse.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 method that creates an instance of theReservation.Builder avoiding the need to create one
manually via Reservation.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #reservations(List.
reservations - a consumer that will call methods on
Reservation.Builder#reservations(java.util.Collection) DescribeInstancesResponse.Builder nextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null when
there are no more items to return.
nextToken - The token to include in another request to get the next page of items. This value is null
when there are no more items to return.Copyright © 2023. All rights reserved.