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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPricingPlansResponse.BuilderbillingPeriod(String billingPeriod)The billing period for which the described pricing plans are applicable.ListPricingPlansResponse.BuildernextToken(String nextToken)The pagination token that's used on subsequent calls to get pricing plans.ListPricingPlansResponse.BuilderpricingPlans(Collection<PricingPlanListElement> pricingPlans)A list ofPricingPlanListElementretrieved.ListPricingPlansResponse.BuilderpricingPlans(Consumer<PricingPlanListElement.Builder>... pricingPlans)A list ofPricingPlanListElementretrieved.ListPricingPlansResponse.BuilderpricingPlans(PricingPlanListElement... pricingPlans)A list ofPricingPlanListElementretrieved.-
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 Detail
-
billingPeriod
ListPricingPlansResponse.Builder billingPeriod(String 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
ListPricingPlansResponse.Builder pricingPlans(Collection<PricingPlanListElement> 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(PricingPlanListElement... 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 to#pricingPlans(List.) - 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:
#pricingPlans(java.util.Collection)
-
nextToken
ListPricingPlansResponse.Builder nextToken(String 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.
-
-