Class PricingRuleListElement
- java.lang.Object
-
- software.amazon.awssdk.services.billingconductor.model.PricingRuleListElement
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PricingRuleListElement.Builder,PricingRuleListElement>
@Generated("software.amazon.awssdk:codegen") public final class PricingRuleListElement extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PricingRuleListElement.Builder,PricingRuleListElement>
A representation of a pricing rule.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePricingRuleListElement.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) used to uniquely identify a pricing rule.LongassociatedPricingPlanCount()The pricing plans count that this pricing rule is associated with.StringbillingEntity()The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.static PricingRuleListElement.Builderbuilder()LongcreationTime()The time when the pricing rule was created.Stringdescription()The pricing rule description.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LonglastModifiedTime()The most recent time when the pricing rule was modified.DoublemodifierPercentage()A percentage modifier applied on the public pricing rates.Stringname()The name of a pricing rule.Stringoperation()Operation is the specific Amazon Web Services action covered by this line item.PricingRuleScopescope()The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.StringscopeAsString()The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.List<SdkField<?>>sdkFields()static Class<? extends PricingRuleListElement.Builder>serializableBuilderClass()Stringservice()If theScopeattribute isSERVICE, this attribute indicates which service thePricingRuleis applicable for.Tieringtiering()The set of tiering configurations for the pricing rule.PricingRuleListElement.BuildertoBuilder()StringtoString()Returns a string representation of this object.PricingRuleTypetype()The type of pricing rule.StringtypeAsString()The type of pricing rule.StringusageType()Usage type is the unit that each service uses to measure the usage of a specific type of resource.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The name of a pricing rule.
- Returns:
- The name of a pricing rule.
-
arn
public final String arn()
The Amazon Resource Name (ARN) used to uniquely identify a pricing rule.
- Returns:
- The Amazon Resource Name (ARN) used to uniquely identify a pricing rule.
-
description
public final String description()
The pricing rule description.
- Returns:
- The pricing rule description.
-
scope
public final PricingRuleScope scope()
The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.
If the service returns an enum value that is not available in the current SDK version,
scopewill returnPricingRuleScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscopeAsString().- Returns:
- The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.
- See Also:
PricingRuleScope
-
scopeAsString
public final String scopeAsString()
The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.
If the service returns an enum value that is not available in the current SDK version,
scopewill returnPricingRuleScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscopeAsString().- Returns:
- The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.
- See Also:
PricingRuleScope
-
type
public final PricingRuleType type()
The type of pricing rule.
If the service returns an enum value that is not available in the current SDK version,
typewill returnPricingRuleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of pricing rule.
- See Also:
PricingRuleType
-
typeAsString
public final String typeAsString()
The type of pricing rule.
If the service returns an enum value that is not available in the current SDK version,
typewill returnPricingRuleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of pricing rule.
- See Also:
PricingRuleType
-
modifierPercentage
public final Double modifierPercentage()
A percentage modifier applied on the public pricing rates.
- Returns:
- A percentage modifier applied on the public pricing rates.
-
service
public final String service()
If the
Scopeattribute isSERVICE, this attribute indicates which service thePricingRuleis applicable for.- Returns:
- If the
Scopeattribute isSERVICE, this attribute indicates which service thePricingRuleis applicable for.
-
associatedPricingPlanCount
public final Long associatedPricingPlanCount()
The pricing plans count that this pricing rule is associated with.
- Returns:
- The pricing plans count that this pricing rule is associated with.
-
creationTime
public final Long creationTime()
The time when the pricing rule was created.
- Returns:
- The time when the pricing rule was created.
-
lastModifiedTime
public final Long lastModifiedTime()
The most recent time when the pricing rule was modified.
- Returns:
- The most recent time when the pricing rule was modified.
-
billingEntity
public final String billingEntity()
The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.
- Returns:
- The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling services via Amazon Web Services Marketplace.
-
tiering
public final Tiering tiering()
The set of tiering configurations for the pricing rule.
- Returns:
- The set of tiering configurations for the pricing rule.
-
usageType
public final 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>- Returns:
- 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>
-
operation
public final 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.- Returns:
- 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.
-
toBuilder
public PricingRuleListElement.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PricingRuleListElement.Builder,PricingRuleListElement>
-
builder
public static PricingRuleListElement.Builder builder()
-
serializableBuilderClass
public static Class<? extends PricingRuleListElement.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-