Interface ListOfferingPromotionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListOfferingPromotionsResponse.Builder,,ListOfferingPromotionsResponse> DeviceFarmResponse.Builder,SdkBuilder<ListOfferingPromotionsResponse.Builder,,ListOfferingPromotionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListOfferingPromotionsResponse
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
copyMethods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaOfferingPromotion.builder().When the
Consumercompletes,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.
-