Interface ListPricingRulesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BillingconductorResponse.Builder,Buildable,CopyableBuilder<ListPricingRulesResponse.Builder,ListPricingRulesResponse>,SdkBuilder<ListPricingRulesResponse.Builder,ListPricingRulesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListPricingRulesResponse
public static interface ListPricingRulesResponse.Builder extends BillingconductorResponse.Builder, SdkPojo, CopyableBuilder<ListPricingRulesResponse.Builder,ListPricingRulesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPricingRulesResponse.BuilderbillingPeriod(String billingPeriod)The billing period for which the described pricing rules are applicable.ListPricingRulesResponse.BuildernextToken(String nextToken)The pagination token that's used on subsequent calls to get pricing rules.ListPricingRulesResponse.BuilderpricingRules(Collection<PricingRuleListElement> pricingRules)A list containing the described pricing rules.ListPricingRulesResponse.BuilderpricingRules(Consumer<PricingRuleListElement.Builder>... pricingRules)A list containing the described pricing rules.ListPricingRulesResponse.BuilderpricingRules(PricingRuleListElement... pricingRules)A list containing the described pricing rules.-
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
ListPricingRulesResponse.Builder billingPeriod(String billingPeriod)
The billing period for which the described pricing rules are applicable.
- Parameters:
billingPeriod- The billing period for which the described pricing rules are applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pricingRules
ListPricingRulesResponse.Builder pricingRules(Collection<PricingRuleListElement> pricingRules)
A list containing the described pricing rules.
- Parameters:
pricingRules- A list containing the described pricing rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pricingRules
ListPricingRulesResponse.Builder pricingRules(PricingRuleListElement... pricingRules)
A list containing the described pricing rules.
- Parameters:
pricingRules- A list containing the described pricing rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pricingRules
ListPricingRulesResponse.Builder pricingRules(Consumer<PricingRuleListElement.Builder>... pricingRules)
A list containing the described pricing rules.
This is a convenience method that creates an instance of thePricingRuleListElement.Builderavoiding the need to create one manually viaPricingRuleListElement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#pricingRules(List.) - Parameters:
pricingRules- a consumer that will call methods onPricingRuleListElement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#pricingRules(java.util.Collection)
-
nextToken
ListPricingRulesResponse.Builder nextToken(String nextToken)
The pagination token that's used on subsequent calls to get pricing rules.
- Parameters:
nextToken- The pagination token that's used on subsequent calls to get pricing rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-