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 ofPricingPlanListElementretrieved.pricingPlans(Consumer<PricingPlanListElement.Builder>... pricingPlans) A list ofPricingPlanListElementretrieved.pricingPlans(PricingPlanListElement... pricingPlans) A list ofPricingPlanListElementretrieved.Methods inherited from interface software.amazon.awssdk.services.billingconductor.model.BillingconductorResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
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
PricingPlanListElementretrieved.- Parameters:
pricingPlans- A list ofPricingPlanListElementretrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pricingPlans
A list of
PricingPlanListElementretrieved.- Parameters:
pricingPlans- A list ofPricingPlanListElementretrieved.- 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 thePricingPlanListElementretrieved.PricingPlanListElement.Builderavoiding the need to create one manually viaPricingPlanListElement.builder().When the
Consumercompletes,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.
-