Interface CreatePricingRuleRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- BillingconductorRequest.Builder,- Buildable,- CopyableBuilder<CreatePricingRuleRequest.Builder,,- CreatePricingRuleRequest> - SdkBuilder<CreatePricingRuleRequest.Builder,,- CreatePricingRuleRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- CreatePricingRuleRequest
- 
Method SummaryModifier and TypeMethodDescriptionbillingEntity(String billingEntity) The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.clientToken(String clientToken) A unique, case-sensitive identifier that you specify to ensure idempotency of the request.description(String description) The pricing rule description.modifierPercentage(Double modifierPercentage) A percentage modifier that's applied on the public pricing rates.The pricing rule name.Operation is the specific Amazon Web Services action covered by this line item.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.scope(PricingRuleScope scope) The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.If theScopeattribute is set toSERVICEorSKU, the attribute indicates which service thePricingRuleis applicable for.A map that contains tag keys and tag values that are attached to a pricing rule.default CreatePricingRuleRequest.Buildertiering(Consumer<CreateTieringInput.Builder> tiering) The set of tiering configurations for the pricing rule.tiering(CreateTieringInput tiering) The set of tiering configurations for the pricing rule.The type of pricing rule.type(PricingRuleType type) The type of pricing rule.Usage type is the unit that each service uses to measure the usage of a specific type of resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.services.billingconductor.model.BillingconductorRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
clientTokenA unique, case-sensitive identifier that you specify to ensure idempotency of the request. Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries complete successfully without performing any further actions. - Parameters:
- clientToken- A unique, case-sensitive identifier that you specify to ensure idempotency of the request. Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries complete successfully without performing any further actions.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
nameThe pricing rule name. The names must be unique to each pricing rule. - Parameters:
- name- The pricing rule name. The names must be unique to each pricing rule.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
descriptionThe pricing rule description. - Parameters:
- description- The pricing rule description.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
scopeThe scope of pricing rule that indicates if it's globally applicable, or it's service-specific. - Parameters:
- scope- The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
scopeThe scope of pricing rule that indicates if it's globally applicable, or it's service-specific. - Parameters:
- scope- The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
typeThe type of pricing rule. - Parameters:
- type- The type of pricing rule.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
typeThe type of pricing rule. - Parameters:
- type- The type of pricing rule.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
modifierPercentageA percentage modifier that's applied on the public pricing rates. Your entry will be rounded to the nearest 2 decimal places. - Parameters:
- modifierPercentage- A percentage modifier that's applied on the public pricing rates. Your entry will be rounded to the nearest 2 decimal places.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
serviceIf the Scopeattribute is set toSERVICEorSKU, the attribute indicates which service thePricingRuleis applicable for.- Parameters:
- service- If the- Scopeattribute is set to- SERVICEor- SKU, the attribute indicates which service the- PricingRuleis applicable for.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagsA map that contains tag keys and tag values that are attached to a pricing rule. - Parameters:
- tags- A map that contains tag keys and tag values that are attached to a pricing rule.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
billingEntityThe seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace. - Parameters:
- billingEntity- The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tieringThe set of tiering configurations for the pricing rule. - Parameters:
- tiering- The set of tiering configurations for the pricing rule.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tieringThe set of tiering configurations for the pricing rule. This is a convenience method that creates an instance of theCreateTieringInput.Builderavoiding the need to create one manually viaCreateTieringInput.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totiering(CreateTieringInput).- Parameters:
- tiering- a consumer that will call methods on- CreateTieringInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
usageTypeUsage type is the unit that each service uses to measure the usage of a specific type of resource. If the Scopeattribute is set toSKU, this attribute indicates which usage type thePricingRuleis modifying. For example,USW2-BoxUsage:m2.2xlargedescribes anM2 High Memory Double Extra Largeinstance in the US West (Oregon) Region.- Parameters:
- usageType- Usage type is the unit that each service uses to measure the usage of a specific type of resource.- If the - Scopeattribute is set to- SKU, this attribute indicates which usage type the- PricingRuleis modifying. For example,- USW2-BoxUsage:m2.2xlargedescribes an- M2 High Memory Double Extra Largeinstance in the US West (Oregon) Region.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
operationOperation is the specific Amazon Web Services action covered by this line item. This describes the specific usage of the line item. If the Scopeattribute is set toSKU, this attribute indicates which operation thePricingRuleis modifying. For example, a value ofRunInstances:0202indicates the operation of running an Amazon EC2 instance.- Parameters:
- operation- Operation is the specific Amazon Web Services action covered by this line item. This describes the specific usage of the line item.- If the - Scopeattribute is set to- SKU, this attribute indicates which operation the- PricingRuleis modifying. For example, a value of- RunInstances:0202indicates the operation of running an Amazon EC2 instance.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationCreatePricingRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreatePricingRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-