@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PricingRuleListElement extends Object implements Serializable, Cloneable, StructuredPojo
A representation of a pricing rule.
| Constructor and Description |
|---|
PricingRuleListElement() |
| Modifier and Type | Method and Description |
|---|---|
PricingRuleListElement |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) used to uniquely identify a pricing rule.
|
Long |
getAssociatedPricingPlanCount()
The pricing plans count that this pricing rule is associated with.
|
Long |
getCreationTime()
The time the pricing rule was created.
|
String |
getDescription()
The pricing rule description.
|
Long |
getLastModifiedTime()
The most recent time the pricing rule was modified.
|
Double |
getModifierPercentage()
A percentage modifier applied on the public pricing rates.
|
String |
getName()
The name of a pricing rule.
|
String |
getScope()
The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.
|
String |
getService()
If the
Scope attribute is SERVICE, this attribute indicates which service the
PricingRule is applicable for. |
String |
getType()
The type of pricing rule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setArn(String arn)
The Amazon Resource Name (ARN) used to uniquely identify a pricing rule.
|
void |
setAssociatedPricingPlanCount(Long associatedPricingPlanCount)
The pricing plans count that this pricing rule is associated with.
|
void |
setCreationTime(Long creationTime)
The time the pricing rule was created.
|
void |
setDescription(String description)
The pricing rule description.
|
void |
setLastModifiedTime(Long lastModifiedTime)
The most recent time the pricing rule was modified.
|
void |
setModifierPercentage(Double modifierPercentage)
A percentage modifier applied on the public pricing rates.
|
void |
setName(String name)
The name of a pricing rule.
|
void |
setScope(String scope)
The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.
|
void |
setService(String service)
If the
Scope attribute is SERVICE, this attribute indicates which service the
PricingRule is applicable for. |
void |
setType(String type)
The type of pricing rule.
|
String |
toString()
Returns a string representation of this object.
|
PricingRuleListElement |
withArn(String arn)
The Amazon Resource Name (ARN) used to uniquely identify a pricing rule.
|
PricingRuleListElement |
withAssociatedPricingPlanCount(Long associatedPricingPlanCount)
The pricing plans count that this pricing rule is associated with.
|
PricingRuleListElement |
withCreationTime(Long creationTime)
The time the pricing rule was created.
|
PricingRuleListElement |
withDescription(String description)
The pricing rule description.
|
PricingRuleListElement |
withLastModifiedTime(Long lastModifiedTime)
The most recent time the pricing rule was modified.
|
PricingRuleListElement |
withModifierPercentage(Double modifierPercentage)
A percentage modifier applied on the public pricing rates.
|
PricingRuleListElement |
withName(String name)
The name of a pricing rule.
|
PricingRuleListElement |
withScope(PricingRuleScope scope)
The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.
|
PricingRuleListElement |
withScope(String scope)
The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.
|
PricingRuleListElement |
withService(String service)
If the
Scope attribute is SERVICE, this attribute indicates which service the
PricingRule is applicable for. |
PricingRuleListElement |
withType(PricingRuleType type)
The type of pricing rule.
|
PricingRuleListElement |
withType(String type)
The type of pricing rule.
|
public void setName(String name)
The name of a pricing rule.
name - The name of a pricing rule.public String getName()
The name of a pricing rule.
public PricingRuleListElement withName(String name)
The name of a pricing rule.
name - The name of a pricing rule.public void setArn(String arn)
The Amazon Resource Name (ARN) used to uniquely identify a pricing rule.
arn - The Amazon Resource Name (ARN) used to uniquely identify a pricing rule.public String getArn()
The Amazon Resource Name (ARN) used to uniquely identify a pricing rule.
public PricingRuleListElement withArn(String arn)
The Amazon Resource Name (ARN) used to uniquely identify a pricing rule.
arn - The Amazon Resource Name (ARN) used to uniquely identify a pricing rule.public void setDescription(String description)
The pricing rule description.
description - The pricing rule description.public String getDescription()
The pricing rule description.
public PricingRuleListElement withDescription(String description)
The pricing rule description.
description - The pricing rule description.public void setScope(String scope)
The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.
scope - The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.PricingRuleScopepublic String getScope()
The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.
PricingRuleScopepublic PricingRuleListElement withScope(String scope)
The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.
scope - The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.PricingRuleScopepublic PricingRuleListElement withScope(PricingRuleScope scope)
The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.
scope - The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.PricingRuleScopepublic void setType(String type)
The type of pricing rule.
type - The type of pricing rule.PricingRuleTypepublic String getType()
The type of pricing rule.
PricingRuleTypepublic PricingRuleListElement withType(String type)
The type of pricing rule.
type - The type of pricing rule.PricingRuleTypepublic PricingRuleListElement withType(PricingRuleType type)
The type of pricing rule.
type - The type of pricing rule.PricingRuleTypepublic void setModifierPercentage(Double modifierPercentage)
A percentage modifier applied on the public pricing rates.
modifierPercentage - A percentage modifier applied on the public pricing rates.public Double getModifierPercentage()
A percentage modifier applied on the public pricing rates.
public PricingRuleListElement withModifierPercentage(Double modifierPercentage)
A percentage modifier applied on the public pricing rates.
modifierPercentage - A percentage modifier applied on the public pricing rates.public void setService(String service)
If the Scope attribute is SERVICE, this attribute indicates which service the
PricingRule is applicable for.
service - If the Scope attribute is SERVICE, this attribute indicates which service the
PricingRule is applicable for.public String getService()
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 PricingRuleListElement withService(String service)
If the Scope attribute is SERVICE, this attribute indicates which service the
PricingRule is applicable for.
service - If the Scope attribute is SERVICE, this attribute indicates which service the
PricingRule is applicable for.public void setAssociatedPricingPlanCount(Long associatedPricingPlanCount)
The pricing plans count that this pricing rule is associated with.
associatedPricingPlanCount - The pricing plans count that this pricing rule is associated with.public Long getAssociatedPricingPlanCount()
The pricing plans count that this pricing rule is associated with.
public PricingRuleListElement withAssociatedPricingPlanCount(Long associatedPricingPlanCount)
The pricing plans count that this pricing rule is associated with.
associatedPricingPlanCount - The pricing plans count that this pricing rule is associated with.public void setCreationTime(Long creationTime)
The time the pricing rule was created.
creationTime - The time the pricing rule was created.public Long getCreationTime()
The time the pricing rule was created.
public PricingRuleListElement withCreationTime(Long creationTime)
The time the pricing rule was created.
creationTime - The time the pricing rule was created.public void setLastModifiedTime(Long lastModifiedTime)
The most recent time the pricing rule was modified.
lastModifiedTime - The most recent time the pricing rule was modified.public Long getLastModifiedTime()
The most recent time the pricing rule was modified.
public PricingRuleListElement withLastModifiedTime(Long lastModifiedTime)
The most recent time the pricing rule was modified.
lastModifiedTime - The most recent time the pricing rule was modified.public String toString()
toString in class ObjectObject.toString()public PricingRuleListElement clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.