Interface ListOfferingPromotionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListOfferingPromotionsResponse.Builder,
,ListOfferingPromotionsResponse> DeviceFarmResponse.Builder
,SdkBuilder<ListOfferingPromotionsResponse.Builder,
,ListOfferingPromotionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListOfferingPromotionsResponse
@Mutable
@NotThreadSafe
public static interface ListOfferingPromotionsResponse.Builder
extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<ListOfferingPromotionsResponse.Builder,ListOfferingPromotionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionAn identifier to be used in the next call to this operation, to return the next set of items in the list.offeringPromotions
(Collection<OfferingPromotion> offeringPromotions) Information about the offering promotions.offeringPromotions
(Consumer<OfferingPromotion.Builder>... offeringPromotions) Information about the offering promotions.offeringPromotions
(OfferingPromotion... offeringPromotions) Information about the offering promotions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmResponse.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
-
offeringPromotions
ListOfferingPromotionsResponse.Builder offeringPromotions(Collection<OfferingPromotion> offeringPromotions) Information about the offering promotions.
- Parameters:
offeringPromotions
- Information about the offering promotions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offeringPromotions
Information about the offering promotions.
- Parameters:
offeringPromotions
- Information about the offering promotions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offeringPromotions
ListOfferingPromotionsResponse.Builder offeringPromotions(Consumer<OfferingPromotion.Builder>... offeringPromotions) Information about the offering promotions.
This is a convenience method that creates an instance of theOfferingPromotion.Builder
avoiding the need to create one manually viaOfferingPromotion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toofferingPromotions(List<OfferingPromotion>)
.- Parameters:
offeringPromotions
- a consumer that will call methods onOfferingPromotion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
An identifier to be used in the next call to this operation, to return the next set of items in the list.
- Parameters:
nextToken
- An identifier to be used in the next call to this operation, to return the next set of items in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-