public static interface DescribeHostReservationsResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeHostReservationsResponse.Builder,DescribeHostReservationsResponse>
Modifier and Type | Method and Description |
---|---|
DescribeHostReservationsResponse.Builder |
hostReservationSet(Collection<HostReservation> hostReservationSet)
Details about the reservation's configuration.
|
DescribeHostReservationsResponse.Builder |
hostReservationSet(Consumer<HostReservation.Builder>... hostReservationSet)
Details about the reservation's configuration.
|
DescribeHostReservationsResponse.Builder |
hostReservationSet(HostReservation... hostReservationSet)
Details about the reservation's configuration.
|
DescribeHostReservationsResponse.Builder |
nextToken(String nextToken)
The token to use to retrieve the next page of results.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeHostReservationsResponse.Builder hostReservationSet(Collection<HostReservation> hostReservationSet)
Details about the reservation's configuration.
hostReservationSet
- Details about the reservation's configuration.DescribeHostReservationsResponse.Builder hostReservationSet(HostReservation... hostReservationSet)
Details about the reservation's configuration.
hostReservationSet
- Details about the reservation's configuration.DescribeHostReservationsResponse.Builder hostReservationSet(Consumer<HostReservation.Builder>... hostReservationSet)
Details about the reservation's configuration.
This is a convenience method that creates an instance of theHostReservation.Builder
avoiding the need to create one
manually via HostReservation.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and
its result is passed to #hostReservationSet(List
.
hostReservationSet
- a consumer that will call methods on
HostReservation.Builder
#hostReservationSet(java.util.Collection)
DescribeHostReservationsResponse.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.