Interface DescribeHostReservationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeHostReservationsResponse.Builder,DescribeHostReservationsResponse>
,Ec2Response.Builder
,SdkBuilder<DescribeHostReservationsResponse.Builder,DescribeHostReservationsResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeHostReservationsResponse
public static interface DescribeHostReservationsResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeHostReservationsResponse.Builder,DescribeHostReservationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
hostReservationSet
DescribeHostReservationsResponse.Builder hostReservationSet(Collection<HostReservation> hostReservationSet)
Details about the reservation's configuration.
- Parameters:
hostReservationSet
- Details about the reservation's configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostReservationSet
DescribeHostReservationsResponse.Builder hostReservationSet(HostReservation... hostReservationSet)
Details about the reservation's configuration.
- Parameters:
hostReservationSet
- Details about the reservation's configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostReservationSet
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 viaHostReservation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#hostReservationSet(List
.) - Parameters:
hostReservationSet
- a consumer that will call methods onHostReservation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#hostReservationSet(java.util.Collection
)
-
nextToken
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.- Parameters:
nextToken
- The token to use to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-