Interface ListPricingPlansResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BillingconductorResponse.Builder
,Buildable
,CopyableBuilder<ListPricingPlansResponse.Builder,
,ListPricingPlansResponse> SdkBuilder<ListPricingPlansResponse.Builder,
,ListPricingPlansResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListPricingPlansResponse
public static interface ListPricingPlansResponse.Builder
extends BillingconductorResponse.Builder, SdkPojo, CopyableBuilder<ListPricingPlansResponse.Builder,ListPricingPlansResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbillingPeriod
(String billingPeriod) The billing period for which the described pricing plans are applicable.The pagination token that's used on subsequent calls to get pricing plans.pricingPlans
(Collection<PricingPlanListElement> pricingPlans) A list ofPricingPlanListElement
retrieved.pricingPlans
(Consumer<PricingPlanListElement.Builder>... pricingPlans) A list ofPricingPlanListElement
retrieved.pricingPlans
(PricingPlanListElement... pricingPlans) A list ofPricingPlanListElement
retrieved.Methods inherited from interface software.amazon.awssdk.services.billingconductor.model.BillingconductorResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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 Details
-
billingPeriod
The billing period for which the described pricing plans are applicable.
- Parameters:
billingPeriod
- The billing period for which the described pricing plans are applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pricingPlans
A list of
PricingPlanListElement
retrieved.- Parameters:
pricingPlans
- A list ofPricingPlanListElement
retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pricingPlans
A list of
PricingPlanListElement
retrieved.- Parameters:
pricingPlans
- A list ofPricingPlanListElement
retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pricingPlans
ListPricingPlansResponse.Builder pricingPlans(Consumer<PricingPlanListElement.Builder>... pricingPlans) A list of
This is a convenience method that creates an instance of thePricingPlanListElement
retrieved.PricingPlanListElement.Builder
avoiding the need to create one manually viaPricingPlanListElement.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topricingPlans(List<PricingPlanListElement>)
.- Parameters:
pricingPlans
- a consumer that will call methods onPricingPlanListElement.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token that's used on subsequent calls to get pricing plans.
- Parameters:
nextToken
- The pagination token that's used on subsequent calls to get pricing plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-