Interface ListOfferingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListOfferingsResponse.Builder,
,ListOfferingsResponse> MediaLiveResponse.Builder
,SdkBuilder<ListOfferingsResponse.Builder,
,ListOfferingsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListOfferingsResponse
public static interface ListOfferingsResponse.Builder
extends MediaLiveResponse.Builder, SdkPojo, CopyableBuilder<ListOfferingsResponse.Builder,ListOfferingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionToken to retrieve the next page of resultsofferings
(Collection<Offering> offerings) List of offeringsofferings
(Consumer<Offering.Builder>... offerings) List of offerings This is a convenience method that creates an instance of theOffering.Builder
avoiding the need to create one manually viaOffering.builder()
.List of offeringsMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.medialive.model.MediaLiveResponse.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
Token to retrieve the next page of results- Parameters:
nextToken
- Token to retrieve the next page of results- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offerings
List of offerings- Parameters:
offerings
- List of offerings- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offerings
List of offerings- Parameters:
offerings
- List of offerings- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offerings
List of offerings This is a convenience method that creates an instance of theOffering.Builder
avoiding the need to create one manually viaOffering.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toofferings(List<Offering>)
.- Parameters:
offerings
- a consumer that will call methods onOffering.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-