public static interface CreatePricingRuleRequest.Builder extends BillingconductorRequest.Builder, SdkPojo, CopyableBuilder<CreatePricingRuleRequest.Builder,CreatePricingRuleRequest>
| Modifier and Type | Method and Description |
|---|---|
CreatePricingRuleRequest.Builder |
billingEntity(String billingEntity)
The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling
services via Amazon Web Services Marketplace.
|
CreatePricingRuleRequest.Builder |
clientToken(String clientToken)
The token that's needed to support idempotency.
|
CreatePricingRuleRequest.Builder |
description(String description)
The pricing rule description.
|
CreatePricingRuleRequest.Builder |
modifierPercentage(Double modifierPercentage)
A percentage modifier that's applied on the public pricing rates.
|
CreatePricingRuleRequest.Builder |
name(String name)
The pricing rule name.
|
CreatePricingRuleRequest.Builder |
operation(String operation)
Operation is the specific Amazon Web Services action covered by this line item.
|
CreatePricingRuleRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreatePricingRuleRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreatePricingRuleRequest.Builder |
scope(PricingRuleScope scope)
The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.
|
CreatePricingRuleRequest.Builder |
scope(String scope)
The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.
|
CreatePricingRuleRequest.Builder |
service(String service)
If the
Scope attribute is set to SERVICE or SKU, the attribute
indicates which service the PricingRule is applicable for. |
CreatePricingRuleRequest.Builder |
tags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to a pricing rule.
|
default CreatePricingRuleRequest.Builder |
tiering(Consumer<CreateTieringInput.Builder> tiering)
The set of tiering configurations for the pricing rule.
|
CreatePricingRuleRequest.Builder |
tiering(CreateTieringInput tiering)
The set of tiering configurations for the pricing rule.
|
CreatePricingRuleRequest.Builder |
type(PricingRuleType type)
The type of pricing rule.
|
CreatePricingRuleRequest.Builder |
type(String type)
The type of pricing rule.
|
CreatePricingRuleRequest.Builder |
usageType(String usageType)
Usage type is the unit that each service uses to measure the usage of a specific type of resource.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreatePricingRuleRequest.Builder clientToken(String clientToken)
The token that's needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.
clientToken - The token that's needed to support idempotency. Idempotency isn't currently supported, but will be
implemented in a future update.CreatePricingRuleRequest.Builder name(String name)
The pricing rule name. The names must be unique to each pricing rule.
name - The pricing rule name. The names must be unique to each pricing rule.CreatePricingRuleRequest.Builder description(String description)
The pricing rule description.
description - The pricing rule description.CreatePricingRuleRequest.Builder scope(String scope)
The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.
scope - The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.PricingRuleScope,
PricingRuleScopeCreatePricingRuleRequest.Builder scope(PricingRuleScope scope)
The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.
scope - The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.PricingRuleScope,
PricingRuleScopeCreatePricingRuleRequest.Builder type(String type)
The type of pricing rule.
type - The type of pricing rule.PricingRuleType,
PricingRuleTypeCreatePricingRuleRequest.Builder type(PricingRuleType type)
The type of pricing rule.
type - The type of pricing rule.PricingRuleType,
PricingRuleTypeCreatePricingRuleRequest.Builder modifierPercentage(Double modifierPercentage)
A percentage modifier that's applied on the public pricing rates.
modifierPercentage - A percentage modifier that's applied on the public pricing rates.CreatePricingRuleRequest.Builder service(String service)
If the Scope attribute is set to SERVICE or SKU, the attribute
indicates which service the PricingRule is applicable for.
service - If the Scope attribute is set to SERVICE or SKU, the attribute
indicates which service the PricingRule is applicable for.CreatePricingRuleRequest.Builder tags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to a pricing rule.
tags - A map that contains tag keys and tag values that are attached to a pricing rule.CreatePricingRuleRequest.Builder billingEntity(String billingEntity)
The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.
billingEntity - The seller of services provided by Amazon Web Services, their affiliates, or third-party providers
selling services via Amazon Web Services Marketplace.CreatePricingRuleRequest.Builder tiering(CreateTieringInput tiering)
The set of tiering configurations for the pricing rule.
tiering - The set of tiering configurations for the pricing rule.default CreatePricingRuleRequest.Builder tiering(Consumer<CreateTieringInput.Builder> tiering)
The set of tiering configurations for the pricing rule.
This is a convenience method that creates an instance of theCreateTieringInput.Builder avoiding the
need to create one manually via CreateTieringInput.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to tiering(CreateTieringInput).
tiering - a consumer that will call methods on CreateTieringInput.Buildertiering(CreateTieringInput)CreatePricingRuleRequest.Builder usageType(String usageType)
Usage type is the unit that each service uses to measure the usage of a specific type of resource.
If the Scope attribute is set to SKU, this attribute indicates which usage type the
PricingRule is modifying. For example, USW2-BoxUsage:m2.2xlarge describes an
M2 High Memory Double Extra Large instance in the US West (Oregon) Region.
</p>
usageType - Usage type is the unit that each service uses to measure the usage of a specific type of resource.
If the Scope attribute is set to SKU, this attribute indicates which usage
type the PricingRule is modifying. For example, USW2-BoxUsage:m2.2xlarge
describes an M2 High Memory Double Extra Large instance in the US West (Oregon) Region.
</p> CreatePricingRuleRequest.Builder operation(String 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 Scope attribute is set to SKU, this attribute indicates which operation the
PricingRule is modifying. For example, a value of RunInstances:0202 indicates the
operation of running an Amazon EC2 instance.
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 Scope attribute is set to SKU, this attribute indicates which
operation the PricingRule is modifying. For example, a value of
RunInstances:0202 indicates the operation of running an Amazon EC2 instance.
CreatePricingRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreatePricingRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.