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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListOfferingPromotionsResponse.BuildernextToken(String nextToken)An identifier to be used in the next call to this operation, to return the next set of items in the list.ListOfferingPromotionsResponse.BuilderofferingPromotions(Collection<OfferingPromotion> offeringPromotions)Information about the offering promotions.ListOfferingPromotionsResponse.BuilderofferingPromotions(Consumer<OfferingPromotion.Builder>... offeringPromotions)Information about the offering promotions.ListOfferingPromotionsResponse.BuilderofferingPromotions(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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
ListOfferingPromotionsResponse.Builder offeringPromotions(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
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 to#offeringPromotions(List.) - 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:
#offeringPromotions(java.util.Collection)
-
nextToken
ListOfferingPromotionsResponse.Builder nextToken(String 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.
-
-