@Generated(value="software.amazon.awssdk:codegen") public final class PricingRuleListElement extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PricingRuleListElement.Builder,PricingRuleListElement>
A representation of a pricing rule.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PricingRuleListElement.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) used to uniquely identify a pricing rule.
|
Long |
associatedPricingPlanCount()
The pricing plans count that this pricing rule is associated with.
|
String |
billingEntity()
The seller of services provided by Amazon Web Services, their affiliates, or third-party providers selling
services via Amazon Web Services Marketplace.
|
static PricingRuleListElement.Builder |
builder() |
Long |
creationTime()
The time when the pricing rule was created.
|
String |
description()
The pricing rule description.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
lastModifiedTime()
The most recent time when the pricing rule was modified.
|
Double |
modifierPercentage()
A percentage modifier applied on the public pricing rates.
|
String |
name()
The name of a pricing rule.
|
String |
operation()
Operation is the specific Amazon Web Services action covered by this line item.
|
PricingRuleScope |
scope()
The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.
|
String |
scopeAsString()
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() |
String |
service()
If the
Scope attribute is SERVICE, this attribute indicates which service the
PricingRule is applicable for. |
Tiering |
tiering()
The set of tiering configurations for the pricing rule.
|
PricingRuleListElement.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
PricingRuleType |
type()
The type of pricing rule.
|
String |
typeAsString()
The type of pricing rule.
|
String |
usageType()
Usage type is the unit that each service uses to measure the usage of a specific type of resource.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of a pricing rule.
public final String arn()
The Amazon Resource Name (ARN) used to uniquely identify a pricing rule.
public final String description()
The pricing rule description.
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, scope will return
PricingRuleScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
scopeAsString().
PricingRuleScopepublic 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, scope will return
PricingRuleScope.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
scopeAsString().
PricingRuleScopepublic final PricingRuleType type()
The type of pricing rule.
If the service returns an enum value that is not available in the current SDK version, type will return
PricingRuleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
PricingRuleTypepublic final String typeAsString()
The type of pricing rule.
If the service returns an enum value that is not available in the current SDK version, type will return
PricingRuleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
PricingRuleTypepublic final Double modifierPercentage()
A percentage modifier applied on the public pricing rates.
public final String service()
If the Scope attribute is SERVICE, this attribute indicates which service the
PricingRule is applicable for.
Scope attribute is SERVICE, this attribute indicates which service the
PricingRule is applicable for.public final Long associatedPricingPlanCount()
The pricing plans count that this pricing rule is associated with.
public final Long creationTime()
The time when the pricing rule was created.
public final Long lastModifiedTime()
The most recent time when the pricing rule was modified.
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.
public final Tiering tiering()
The set of tiering configurations for the pricing rule.
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 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>
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> 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 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.
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.
public PricingRuleListElement.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PricingRuleListElement.Builder,PricingRuleListElement>public static PricingRuleListElement.Builder builder()
public static Class<? extends PricingRuleListElement.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.