Interface DescribeHostReservationOfferingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeHostReservationOfferingsResponse.Builder,
,DescribeHostReservationOfferingsResponse> Ec2Response.Builder
,SdkBuilder<DescribeHostReservationOfferingsResponse.Builder,
,DescribeHostReservationOfferingsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeHostReservationOfferingsResponse
public static interface DescribeHostReservationOfferingsResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeHostReservationOfferingsResponse.Builder,DescribeHostReservationOfferingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use to retrieve the next page of results.offeringSet
(Collection<HostOffering> offeringSet) Information about the offerings.offeringSet
(Consumer<HostOffering.Builder>... offeringSet) Information about the offerings.offeringSet
(HostOffering... offeringSet) Information about the offerings.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 Details
-
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.
-
offeringSet
Information about the offerings.
- Parameters:
offeringSet
- Information about the offerings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offeringSet
Information about the offerings.
- Parameters:
offeringSet
- Information about the offerings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offeringSet
DescribeHostReservationOfferingsResponse.Builder offeringSet(Consumer<HostOffering.Builder>... offeringSet) Information about the offerings.
This is a convenience method that creates an instance of theHostOffering.Builder
avoiding the need to create one manually viaHostOffering.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toofferingSet(List<HostOffering>)
.- Parameters:
offeringSet
- a consumer that will call methods onHostOffering.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-