@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePricingRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdatePricingRuleRequest() |
Modifier and Type | Method and Description |
---|---|
UpdatePricingRuleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the pricing rule to update.
|
String |
getDescription()
The new description for the pricing rule.
|
Double |
getModifierPercentage()
The new modifier to show pricing plan rates as a percentage.
|
String |
getName()
The new name of the pricing rule.
|
UpdateTieringInput |
getTiering()
The set of tiering configurations for the pricing rule.
|
String |
getType()
The new pricing rule type.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the pricing rule to update.
|
void |
setDescription(String description)
The new description for the pricing rule.
|
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 |
setTiering(UpdateTieringInput tiering)
The set of tiering configurations for the pricing rule.
|
void |
setType(String type)
The new pricing rule type.
|
String |
toString()
Returns a string representation of this object.
|
UpdatePricingRuleRequest |
withArn(String arn)
The Amazon Resource Name (ARN) of the pricing rule to update.
|
UpdatePricingRuleRequest |
withDescription(String description)
The new description for the pricing rule.
|
UpdatePricingRuleRequest |
withModifierPercentage(Double modifierPercentage)
The new modifier to show pricing plan rates as a percentage.
|
UpdatePricingRuleRequest |
withName(String name)
The new name of the pricing rule.
|
UpdatePricingRuleRequest |
withTiering(UpdateTieringInput tiering)
The set of tiering configurations for the pricing rule.
|
UpdatePricingRuleRequest |
withType(PricingRuleType type)
The new pricing rule type.
|
UpdatePricingRuleRequest |
withType(String type)
The new pricing rule type.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setArn(String arn)
The Amazon Resource Name (ARN) of the pricing rule to update.
arn
- The Amazon Resource Name (ARN) of the pricing rule to update.public String getArn()
The Amazon Resource Name (ARN) of the pricing rule to update.
public UpdatePricingRuleRequest withArn(String arn)
The Amazon Resource Name (ARN) of the pricing rule to update.
arn
- The Amazon Resource Name (ARN) of the pricing rule to update.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 UpdatePricingRuleRequest 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 UpdatePricingRuleRequest withDescription(String description)
The new description for the pricing rule.
description
- The new description for the pricing rule.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 UpdatePricingRuleRequest withType(String type)
The new pricing rule type.
type
- The new pricing rule type.PricingRuleType
public UpdatePricingRuleRequest 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 UpdatePricingRuleRequest 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 setTiering(UpdateTieringInput tiering)
The set of tiering configurations for the pricing rule.
tiering
- The set of tiering configurations for the pricing rule.public UpdateTieringInput getTiering()
The set of tiering configurations for the pricing rule.
public UpdatePricingRuleRequest withTiering(UpdateTieringInput tiering)
The set of tiering configurations for the pricing rule.
tiering
- The set of tiering configurations for the pricing rule.public String toString()
toString
in class Object
Object.toString()
public UpdatePricingRuleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()