Interface ListPricingRulesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BillingconductorResponse.Builder,Buildable,CopyableBuilder<ListPricingRulesResponse.Builder,,ListPricingRulesResponse> SdkBuilder<ListPricingRulesResponse.Builder,,ListPricingRulesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPricingRulesResponse
@Mutable
@NotThreadSafe
public static interface ListPricingRulesResponse.Builder
extends BillingconductorResponse.Builder, SdkPojo, CopyableBuilder<ListPricingRulesResponse.Builder,ListPricingRulesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbillingPeriod(String billingPeriod) The billing period for which the described pricing rules are applicable.The pagination token that's used on subsequent calls to get pricing rules.pricingRules(Collection<PricingRuleListElement> pricingRules) A list containing the described pricing rules.pricingRules(Consumer<PricingRuleListElement.Builder>... pricingRules) A list containing the described pricing rules.pricingRules(PricingRuleListElement... pricingRules) A list containing the described pricing rules.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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 topricingRules(List<PricingRuleListElement>).- 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:
-
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.
-