Interface ListOfferingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListOfferingsResponse.Builder,
,ListOfferingsResponse> MediaConnectResponse.Builder
,SdkBuilder<ListOfferingsResponse.Builder,
,ListOfferingsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListOfferingsResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe token that identifies the batch of results that you want to see.offerings
(Collection<Offering> offerings) A list of offerings that are available to this account in the current Amazon Web Services Region.offerings
(Consumer<Offering.Builder>... offerings) A list of offerings that are available to this account in the current Amazon Web Services Region.A list of offerings that are available to this account in the current Amazon Web Services Region.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mediaconnect.model.MediaConnectResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The token that identifies the batch of results that you want to see.
For example, you submit a
ListOfferings
request withMaxResults
set at 5. The service returns the first batch of results (up to 5) and aNextToken
value. To see the next batch of results, you can submit theListOfferings
request a second time and specify theNextToken
value.- Parameters:
nextToken
- The token that identifies the batch of results that you want to see.For example, you submit a
ListOfferings
request withMaxResults
set at 5. The service returns the first batch of results (up to 5) and aNextToken
value. To see the next batch of results, you can submit theListOfferings
request a second time and specify theNextToken
value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offerings
A list of offerings that are available to this account in the current Amazon Web Services Region.
- Parameters:
offerings
- A list of offerings that are available to this account in the current Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offerings
A list of offerings that are available to this account in the current Amazon Web Services Region.
- Parameters:
offerings
- A list of offerings that are available to this account in the current Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offerings
A list of offerings that are available to this account in the current Amazon Web Services Region.
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:
-