Interface UpdatePricingRuleResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BillingconductorResponse.Builder,Buildable,CopyableBuilder<UpdatePricingRuleResponse.Builder,UpdatePricingRuleResponse>,SdkBuilder<UpdatePricingRuleResponse.Builder,UpdatePricingRuleResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdatePricingRuleResponse
public static interface UpdatePricingRuleResponse.Builder extends BillingconductorResponse.Builder, SdkPojo, CopyableBuilder<UpdatePricingRuleResponse.Builder,UpdatePricingRuleResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdatePricingRuleResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the successfully updated pricing rule.UpdatePricingRuleResponse.BuilderassociatedPricingPlanCount(Long associatedPricingPlanCount)The pricing plans count that this pricing rule is associated with.UpdatePricingRuleResponse.BuilderbillingEntity(String billingEntity)The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.UpdatePricingRuleResponse.Builderdescription(String description)The new description for the pricing rule.UpdatePricingRuleResponse.BuilderlastModifiedTime(Long lastModifiedTime)The most recent time the pricing rule was modified.UpdatePricingRuleResponse.BuildermodifierPercentage(Double modifierPercentage)The new modifier to show pricing plan rates as a percentage.UpdatePricingRuleResponse.Buildername(String name)The new name of the pricing rule.UpdatePricingRuleResponse.Builderoperation(String operation)Operation refers to the specific Amazon Web Services covered by this line item.UpdatePricingRuleResponse.Builderscope(String scope)The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.UpdatePricingRuleResponse.Builderscope(PricingRuleScope scope)The scope of pricing rule that indicates if it's globally applicable, or it's service-specific.UpdatePricingRuleResponse.Builderservice(String service)If theScopeattribute is set toSERVICE, the attribute indicates which service thePricingRuleis applicable for.default UpdatePricingRuleResponse.Buildertiering(Consumer<UpdateTieringInput.Builder> tiering)The set of tiering configurations for the pricing rule.UpdatePricingRuleResponse.Buildertiering(UpdateTieringInput tiering)The set of tiering configurations for the pricing rule.UpdatePricingRuleResponse.Buildertype(String type)The new pricing rule type.UpdatePricingRuleResponse.Buildertype(PricingRuleType type)The new pricing rule type.UpdatePricingRuleResponse.BuilderusageType(String usageType)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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
arn
UpdatePricingRuleResponse.Builder arn(String 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
UpdatePricingRuleResponse.Builder name(String 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
UpdatePricingRuleResponse.Builder description(String 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
UpdatePricingRuleResponse.Builder scope(String 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:
PricingRuleScope,PricingRuleScope
-
scope
UpdatePricingRuleResponse.Builder scope(PricingRuleScope 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:
PricingRuleScope,PricingRuleScope
-
type
UpdatePricingRuleResponse.Builder type(String 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:
PricingRuleType,PricingRuleType
-
type
UpdatePricingRuleResponse.Builder type(PricingRuleType 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:
PricingRuleType,PricingRuleType
-
modifierPercentage
UpdatePricingRuleResponse.Builder modifierPercentage(Double 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
UpdatePricingRuleResponse.Builder service(String service)
If the
Scopeattribute is set toSERVICE, the attribute indicates which service thePricingRuleis applicable for.- Parameters:
service- If theScopeattribute is set toSERVICE, the attribute indicates which service thePricingRuleis applicable for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedPricingPlanCount
UpdatePricingRuleResponse.Builder associatedPricingPlanCount(Long 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
UpdatePricingRuleResponse.Builder lastModifiedTime(Long 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
UpdatePricingRuleResponse.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.
- 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
UpdatePricingRuleResponse.Builder tiering(UpdateTieringInput 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
default UpdatePricingRuleResponse.Builder tiering(Consumer<UpdateTieringInput.Builder> tiering)
The set of tiering configurations for the pricing rule.
This is a convenience method that creates an instance of theUpdateTieringInput.Builderavoiding the need to create one manually viaUpdateTieringInput.builder().When the
Consumercompletes,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:
tiering(UpdateTieringInput)
-
usageType
UpdatePricingRuleResponse.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
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 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
UpdatePricingRuleResponse.Builder operation(String 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
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 refers to the specific Amazon Web Services 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-