Interface UpdatePricingRuleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BillingconductorResponse.Builder
,Buildable
,CopyableBuilder<UpdatePricingRuleResponse.Builder,
,UpdatePricingRuleResponse> SdkBuilder<UpdatePricingRuleResponse.Builder,
,UpdatePricingRuleResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdatePricingRuleResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the successfully updated pricing rule.associatedPricingPlanCount
(Long associatedPricingPlanCount) The pricing plans count that this pricing rule is associated with.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.description
(String description) The new description for the pricing rule.lastModifiedTime
(Long lastModifiedTime) The most recent time the pricing rule was modified.modifierPercentage
(Double modifierPercentage) The new modifier to show pricing plan rates as a percentage.The new name of the pricing rule.Operation refers to the specific Amazon Web Services covered by this line item.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 theScope
attribute is set toSERVICE
, the attribute indicates which service thePricingRule
is applicable for.tiering
(Consumer<UpdateTieringInput.Builder> tiering) The set of tiering configurations for the pricing rule.tiering
(UpdateTieringInput tiering) The set of tiering configurations for the pricing rule.The new pricing rule type.type
(PricingRuleType type) The new pricing rule type.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.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the successfully updated pricing rule.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the successfully updated pricing rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The new name of the pricing rule. The name must be unique to each pricing rule.
- Parameters:
name
- The new name of the pricing rule. The name must be unique to each pricing rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The new description for the pricing rule.
- Parameters:
description
- The new description for the pricing rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
The 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:
-
scope
The 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:
-
type
The new pricing rule type.
- Parameters:
type
- The new pricing rule type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The new pricing rule type.
- Parameters:
type
- The new pricing rule type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modifierPercentage
The new modifier to show pricing plan rates as a percentage.
- Parameters:
modifierPercentage
- The new modifier to show pricing plan rates as a percentage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
service
If the
Scope
attribute is set toSERVICE
, the attribute indicates which service thePricingRule
is applicable for.- Parameters:
service
- If theScope
attribute is set toSERVICE
, the attribute indicates which service thePricingRule
is applicable for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedPricingPlanCount
The pricing plans count that this pricing rule is associated with.
- Parameters:
associatedPricingPlanCount
- The pricing plans count that this pricing rule is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The most recent time the pricing rule was modified.
- Parameters:
lastModifiedTime
- The most recent time the pricing rule was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingEntity
The 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.
-
tiering
The 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.
-
tiering
The set of tiering configurations for the pricing rule.
This is a convenience method that creates an instance of theUpdateTieringInput.Builder
avoiding the need to create one manually viaUpdateTieringInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totiering(UpdateTieringInput)
.- Parameters:
tiering
- a consumer that will call methods onUpdateTieringInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 toSKU
, this attribute indicates which usage type thePricingRule
is modifying. For example,USW2-BoxUsage:m2.2xlarge
describes anM2 High Memory Double Extra Large
instance 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
Scope
attribute is set toSKU
, this attribute indicates which usage type thePricingRule
is modifying. For example,USW2-BoxUsage:m2.2xlarge
describes anM2 High Memory Double Extra Large
instance in the US West (Oregon) Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
Operation refers to the specific Amazon Web Services covered by this line item. This describes the specific usage of the line item.
If the
Scope
attribute is set toSKU
, this attribute indicates which operation thePricingRule
is modifying. For example, a value ofRunInstances:0202
indicates the operation of running an Amazon EC2 instance.- Parameters:
operation
- Operation refers to the specific Amazon Web Services covered by this line item. This describes the specific usage of the line item.If the
Scope
attribute is set toSKU
, this attribute indicates which operation thePricingRule
is modifying. For example, a value ofRunInstances:0202
indicates the operation of running an Amazon EC2 instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-