Interface ListPriceListsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPriceListsResponse.Builder,ListPriceListsResponse>,PricingResponse.Builder,SdkBuilder<ListPriceListsResponse.Builder,ListPriceListsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListPriceListsResponse
public static interface ListPriceListsResponse.Builder extends PricingResponse.Builder, SdkPojo, CopyableBuilder<ListPriceListsResponse.Builder,ListPriceListsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPriceListsResponse.BuildernextToken(String nextToken)The pagination token that indicates the next set of results to retrieve.ListPriceListsResponse.BuilderpriceLists(Collection<PriceList> priceLists)The type of price list references that match your request.ListPriceListsResponse.BuilderpriceLists(Consumer<PriceList.Builder>... priceLists)The type of price list references that match your request.ListPriceListsResponse.BuilderpriceLists(PriceList... priceLists)The type of price list references that match your request.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.pricing.model.PricingResponse.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
-
priceLists
ListPriceListsResponse.Builder priceLists(Collection<PriceList> priceLists)
The type of price list references that match your request.
- Parameters:
priceLists- The type of price list references that match your request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priceLists
ListPriceListsResponse.Builder priceLists(PriceList... priceLists)
The type of price list references that match your request.
- Parameters:
priceLists- The type of price list references that match your request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priceLists
ListPriceListsResponse.Builder priceLists(Consumer<PriceList.Builder>... priceLists)
The type of price list references that match your request.
This is a convenience method that creates an instance of thePriceList.Builderavoiding the need to create one manually viaPriceList.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#priceLists(List.) - Parameters:
priceLists- a consumer that will call methods onPriceList.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#priceLists(java.util.Collection)
-
nextToken
ListPriceListsResponse.Builder nextToken(String nextToken)
The pagination token that indicates the next set of results to retrieve.
- Parameters:
nextToken- The pagination token that indicates the next set of results to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-