Interface PricingRuleListElement.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PricingRuleListElement.Builder,PricingRuleListElement>,SdkBuilder<PricingRuleListElement.Builder,PricingRuleListElement>,SdkPojo
- Enclosing class:
- PricingRuleListElement
public static interface PricingRuleListElement.Builder extends SdkPojo, CopyableBuilder<PricingRuleListElement.Builder,PricingRuleListElement>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PricingRuleListElement.Builderarn(String arn)The Amazon Resource Name (ARN) used to uniquely identify a pricing rule.PricingRuleListElement.BuilderassociatedPricingPlanCount(Long associatedPricingPlanCount)The pricing plans count that this pricing rule is associated with.PricingRuleListElement.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.PricingRuleListElement.BuildercreationTime(Long creationTime)The time when the pricing rule was created.PricingRuleListElement.Builderdescription(String description)The pricing rule description.PricingRuleListElement.BuilderlastModifiedTime(Long lastModifiedTime)The most recent time when the pricing rule was modified.PricingRuleListElement.BuildermodifierPercentage(Double modifierPercentage)A percentage modifier applied on the public pricing rates.PricingRuleListElement.Buildername(String name)The name of a pricing rule.PricingRuleListElement.Builderoperation(String operation)Operation is the specific Amazon Web Services action covered by this line item.PricingRuleListElement.Builderscope(String scope)The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.PricingRuleListElement.Builderscope(PricingRuleScope scope)The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.PricingRuleListElement.Builderservice(String service)If theScopeattribute isSERVICE, this attribute indicates which service thePricingRuleis applicable for.default PricingRuleListElement.Buildertiering(Consumer<Tiering.Builder> tiering)The set of tiering configurations for the pricing rule.PricingRuleListElement.Buildertiering(Tiering tiering)The set of tiering configurations for the pricing rule.PricingRuleListElement.Buildertype(String type)The type of pricing rule.PricingRuleListElement.Buildertype(PricingRuleType type)The type of pricing rule.PricingRuleListElement.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.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
-
-
-
-
Method Detail
-
name
PricingRuleListElement.Builder name(String name)
The name of a pricing rule.
- Parameters:
name- The name of a pricing rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
PricingRuleListElement.Builder arn(String arn)
The Amazon Resource Name (ARN) used to uniquely identify a pricing rule.
- Parameters:
arn- The Amazon Resource Name (ARN) used to uniquely identify a pricing rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
PricingRuleListElement.Builder description(String description)
The pricing rule description.
- Parameters:
description- The pricing rule description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
PricingRuleListElement.Builder scope(String scope)
The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.
- Parameters:
scope- The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PricingRuleScope,PricingRuleScope
-
scope
PricingRuleListElement.Builder scope(PricingRuleScope scope)
The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.
- Parameters:
scope- The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PricingRuleScope,PricingRuleScope
-
type
PricingRuleListElement.Builder type(String type)
The 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:
PricingRuleType,PricingRuleType
-
type
PricingRuleListElement.Builder type(PricingRuleType type)
The 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:
PricingRuleType,PricingRuleType
-
modifierPercentage
PricingRuleListElement.Builder modifierPercentage(Double modifierPercentage)
A percentage modifier applied on the public pricing rates.
- Parameters:
modifierPercentage- A percentage modifier applied on the public pricing rates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
service
PricingRuleListElement.Builder service(String service)
If the
Scopeattribute isSERVICE, this attribute indicates which service thePricingRuleis applicable for.- Parameters:
service- If theScopeattribute isSERVICE, this attribute indicates which service thePricingRuleis applicable for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedPricingPlanCount
PricingRuleListElement.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.
-
creationTime
PricingRuleListElement.Builder creationTime(Long creationTime)
The time when the pricing rule was created.
- Parameters:
creationTime- The time when the pricing rule was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
PricingRuleListElement.Builder lastModifiedTime(Long lastModifiedTime)
The most recent time when the pricing rule was modified.
- Parameters:
lastModifiedTime- The most recent time when the pricing rule was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billingEntity
PricingRuleListElement.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
PricingRuleListElement.Builder tiering(Tiering 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 PricingRuleListElement.Builder tiering(Consumer<Tiering.Builder> tiering)
The set of tiering configurations for the pricing rule.
This is a convenience method that creates an instance of theTiering.Builderavoiding the need to create one manually viaTiering.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totiering(Tiering).- Parameters:
tiering- a consumer that will call methods onTiering.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
tiering(Tiering)
-
usageType
PricingRuleListElement.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.</p>- 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.</p>- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
PricingRuleListElement.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
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 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.
-
-