@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePricingRuleResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdatePricingRuleResult() |
Modifier and Type | Method and Description |
---|---|
UpdatePricingRuleResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the successfully updated pricing rule.
|
Long |
getAssociatedPricingPlanCount()
The pricing plans count that this pricing rule is associated with.
|
String |
getDescription()
The new description for the pricing rule.
|
Long |
getLastModifiedTime()
The most recent time the pricing rule was modified.
|
Double |
getModifierPercentage()
The new modifier to show pricing plan rates as a percentage.
|
String |
getName()
The new name of the pricing rule.
|
String |
getScope()
The scope of pricing rule that indicates if it is globally applicable, or is service-specific.
|
String |
getService()
If the
Scope attribute is set to SERVICE , the attribute indicates which service the
PricingRule is applicable for. |
String |
getType()
The new pricing rule type.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the successfully updated pricing rule.
|
void |
setAssociatedPricingPlanCount(Long associatedPricingPlanCount)
The pricing plans count that this pricing rule is associated with.
|
void |
setDescription(String description)
The new description for the pricing rule.
|
void |
setLastModifiedTime(Long lastModifiedTime)
The most recent time the pricing rule was modified.
|
void |
setModifierPercentage(Double modifierPercentage)
The new modifier to show pricing plan rates as a percentage.
|
void |
setName(String name)
The new name of the pricing rule.
|
void |
setScope(String scope)
The scope of pricing rule that indicates if it is globally applicable, or is service-specific.
|
void |
setService(String service)
If the
Scope attribute is set to SERVICE , the attribute indicates which service the
PricingRule is applicable for. |
void |
setType(String type)
The new pricing rule type.
|
String |
toString()
Returns a string representation of this object.
|
UpdatePricingRuleResult |
withArn(String arn)
The Amazon Resource Name (ARN) of the successfully updated pricing rule.
|
UpdatePricingRuleResult |
withAssociatedPricingPlanCount(Long associatedPricingPlanCount)
The pricing plans count that this pricing rule is associated with.
|
UpdatePricingRuleResult |
withDescription(String description)
The new description for the pricing rule.
|
UpdatePricingRuleResult |
withLastModifiedTime(Long lastModifiedTime)
The most recent time the pricing rule was modified.
|
UpdatePricingRuleResult |
withModifierPercentage(Double modifierPercentage)
The new modifier to show pricing plan rates as a percentage.
|
UpdatePricingRuleResult |
withName(String name)
The new name of the pricing rule.
|
UpdatePricingRuleResult |
withScope(PricingRuleScope scope)
The scope of pricing rule that indicates if it is globally applicable, or is service-specific.
|
UpdatePricingRuleResult |
withScope(String scope)
The scope of pricing rule that indicates if it is globally applicable, or is service-specific.
|
UpdatePricingRuleResult |
withService(String service)
If the
Scope attribute is set to SERVICE , the attribute indicates which service the
PricingRule is applicable for. |
UpdatePricingRuleResult |
withType(PricingRuleType type)
The new pricing rule type.
|
UpdatePricingRuleResult |
withType(String type)
The new pricing rule type.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
The Amazon Resource Name (ARN) of the successfully updated pricing rule.
arn
- The Amazon Resource Name (ARN) of the successfully updated pricing rule.public String getArn()
The Amazon Resource Name (ARN) of the successfully updated pricing rule.
public UpdatePricingRuleResult withArn(String arn)
The Amazon Resource Name (ARN) of the successfully updated pricing rule.
arn
- The Amazon Resource Name (ARN) of the successfully updated pricing rule.public void setName(String name)
The new name of the pricing rule. The name must be unique to each pricing rule.
name
- The new name of the pricing rule. The name must be unique to each pricing rule.public String getName()
The new name of the pricing rule. The name must be unique to each pricing rule.
public UpdatePricingRuleResult withName(String name)
The new name of the pricing rule. The name must be unique to each pricing rule.
name
- The new name of the pricing rule. The name must be unique to each pricing rule.public void setDescription(String description)
The new description for the pricing rule.
description
- The new description for the pricing rule.public String getDescription()
The new description for the pricing rule.
public UpdatePricingRuleResult withDescription(String description)
The new description for the pricing rule.
description
- The new description for the pricing rule.public void setScope(String scope)
The scope of pricing rule that indicates if it is globally applicable, or is service-specific.
scope
- The scope of pricing rule that indicates if it is globally applicable, or is service-specific.PricingRuleScope
public String getScope()
The scope of pricing rule that indicates if it is globally applicable, or is service-specific.
PricingRuleScope
public UpdatePricingRuleResult withScope(String scope)
The scope of pricing rule that indicates if it is globally applicable, or is service-specific.
scope
- The scope of pricing rule that indicates if it is globally applicable, or is service-specific.PricingRuleScope
public UpdatePricingRuleResult withScope(PricingRuleScope scope)
The scope of pricing rule that indicates if it is globally applicable, or is service-specific.
scope
- The scope of pricing rule that indicates if it is globally applicable, or is service-specific.PricingRuleScope
public void setType(String type)
The new pricing rule type.
type
- The new pricing rule type.PricingRuleType
public String getType()
The new pricing rule type.
PricingRuleType
public UpdatePricingRuleResult withType(String type)
The new pricing rule type.
type
- The new pricing rule type.PricingRuleType
public UpdatePricingRuleResult withType(PricingRuleType type)
The new pricing rule type.
type
- The new pricing rule type.PricingRuleType
public void setModifierPercentage(Double modifierPercentage)
The new modifier to show pricing plan rates as a percentage.
modifierPercentage
- The new modifier to show pricing plan rates as a percentage.public Double getModifierPercentage()
The new modifier to show pricing plan rates as a percentage.
public UpdatePricingRuleResult withModifierPercentage(Double modifierPercentage)
The new modifier to show pricing plan rates as a percentage.
modifierPercentage
- The new modifier to show pricing plan rates as a percentage.public void setService(String service)
If the Scope
attribute is set to SERVICE
, the attribute indicates which service the
PricingRule
is applicable for.
service
- If the Scope
attribute is set to SERVICE
, the attribute indicates which service
the PricingRule
is applicable for.public String getService()
If the Scope
attribute is set to SERVICE
, the attribute indicates which service the
PricingRule
is applicable for.
Scope
attribute is set to SERVICE
, the attribute indicates which service
the PricingRule
is applicable for.public UpdatePricingRuleResult withService(String service)
If the Scope
attribute is set to SERVICE
, the attribute indicates which service the
PricingRule
is applicable for.
service
- If the Scope
attribute is set to SERVICE
, the 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 UpdatePricingRuleResult 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 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 UpdatePricingRuleResult 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 Object
Object.toString()
public UpdatePricingRuleResult clone()