Interface ListPricingRulesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BillingconductorRequest.Builder,Buildable,CopyableBuilder<ListPricingRulesRequest.Builder,,ListPricingRulesRequest> SdkBuilder<ListPricingRulesRequest.Builder,,ListPricingRulesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListPricingRulesRequest
public static interface ListPricingRulesRequest.Builder
extends BillingconductorRequest.Builder, SdkPojo, CopyableBuilder<ListPricingRulesRequest.Builder,ListPricingRulesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionbillingPeriod(String billingPeriod) The preferred billing period to get the pricing plan.default ListPricingRulesRequest.Builderfilters(Consumer<ListPricingRulesFilter.Builder> filters) ADescribePricingRuleFilterthat specifies the Amazon Resource Name (ARNs) of pricing rules to retrieve pricing rules information.filters(ListPricingRulesFilter filters) ADescribePricingRuleFilterthat specifies the Amazon Resource Name (ARNs) of pricing rules to retrieve pricing rules information.maxResults(Integer maxResults) The maximum number of pricing rules to retrieve.The pagination token that's used on subsequent call to get pricing rules.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.billingconductor.model.BillingconductorRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
billingPeriod
The preferred billing period to get the pricing plan.
- Parameters:
billingPeriod- The preferred billing period to get the pricing plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
A
DescribePricingRuleFilterthat specifies the Amazon Resource Name (ARNs) of pricing rules to retrieve pricing rules information.- Parameters:
filters- ADescribePricingRuleFilterthat specifies the Amazon Resource Name (ARNs) of pricing rules to retrieve pricing rules information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
A
This is a convenience method that creates an instance of theDescribePricingRuleFilterthat specifies the Amazon Resource Name (ARNs) of pricing rules to retrieve pricing rules information.ListPricingRulesFilter.Builderavoiding the need to create one manually viaListPricingRulesFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(ListPricingRulesFilter).- Parameters:
filters- a consumer that will call methods onListPricingRulesFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of pricing rules to retrieve.
- Parameters:
maxResults- The maximum number of pricing rules to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The pagination token that's used on subsequent call to get pricing rules.
- Parameters:
nextToken- The pagination token that's used on subsequent call to get pricing rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListPricingRulesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListPricingRulesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-