@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePricingPlanRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreatePricingPlanRequest() |
Modifier and Type | Method and Description |
---|---|
CreatePricingPlanRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreatePricingPlanRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreatePricingPlanRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
The token that is needed to support idempotency.
|
String |
getDescription()
The description of the pricing plan.
|
String |
getName()
The name of the pricing plan.
|
List<String> |
getPricingRuleArns()
A list of Amazon Resource Names (ARNs) that define the pricing plan parameters.
|
Map<String,String> |
getTags()
A map that contains tag keys and tag values that are attached to a pricing plan.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
The token that is needed to support idempotency.
|
void |
setDescription(String description)
The description of the pricing plan.
|
void |
setName(String name)
The name of the pricing plan.
|
void |
setPricingRuleArns(Collection<String> pricingRuleArns)
A list of Amazon Resource Names (ARNs) that define the pricing plan parameters.
|
void |
setTags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to a pricing plan.
|
String |
toString()
Returns a string representation of this object.
|
CreatePricingPlanRequest |
withClientToken(String clientToken)
The token that is needed to support idempotency.
|
CreatePricingPlanRequest |
withDescription(String description)
The description of the pricing plan.
|
CreatePricingPlanRequest |
withName(String name)
The name of the pricing plan.
|
CreatePricingPlanRequest |
withPricingRuleArns(Collection<String> pricingRuleArns)
A list of Amazon Resource Names (ARNs) that define the pricing plan parameters.
|
CreatePricingPlanRequest |
withPricingRuleArns(String... pricingRuleArns)
A list of Amazon Resource Names (ARNs) that define the pricing plan parameters.
|
CreatePricingPlanRequest |
withTags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to a pricing plan.
|
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 setClientToken(String clientToken)
The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.
clientToken
- The token that is needed to support idempotency. Idempotency isn't currently supported, but will be
implemented in a future update.public String getClientToken()
The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.
public CreatePricingPlanRequest withClientToken(String clientToken)
The token that is needed to support idempotency. Idempotency isn't currently supported, but will be implemented in a future update.
clientToken
- The token that is needed to support idempotency. Idempotency isn't currently supported, but will be
implemented in a future update.public void setName(String name)
The name of the pricing plan. The names must be unique to each pricing plan.
name
- The name of the pricing plan. The names must be unique to each pricing plan.public String getName()
The name of the pricing plan. The names must be unique to each pricing plan.
public CreatePricingPlanRequest withName(String name)
The name of the pricing plan. The names must be unique to each pricing plan.
name
- The name of the pricing plan. The names must be unique to each pricing plan.public void setDescription(String description)
The description of the pricing plan.
description
- The description of the pricing plan.public String getDescription()
The description of the pricing plan.
public CreatePricingPlanRequest withDescription(String description)
The description of the pricing plan.
description
- The description of the pricing plan.public List<String> getPricingRuleArns()
A list of Amazon Resource Names (ARNs) that define the pricing plan parameters.
public void setPricingRuleArns(Collection<String> pricingRuleArns)
A list of Amazon Resource Names (ARNs) that define the pricing plan parameters.
pricingRuleArns
- A list of Amazon Resource Names (ARNs) that define the pricing plan parameters.public CreatePricingPlanRequest withPricingRuleArns(String... pricingRuleArns)
A list of Amazon Resource Names (ARNs) that define the pricing plan parameters.
NOTE: This method appends the values to the existing list (if any). Use
setPricingRuleArns(java.util.Collection)
or withPricingRuleArns(java.util.Collection)
if you
want to override the existing values.
pricingRuleArns
- A list of Amazon Resource Names (ARNs) that define the pricing plan parameters.public CreatePricingPlanRequest withPricingRuleArns(Collection<String> pricingRuleArns)
A list of Amazon Resource Names (ARNs) that define the pricing plan parameters.
pricingRuleArns
- A list of Amazon Resource Names (ARNs) that define the pricing plan parameters.public Map<String,String> getTags()
A map that contains tag keys and tag values that are attached to a pricing plan.
public void setTags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to a pricing plan.
tags
- A map that contains tag keys and tag values that are attached to a pricing plan.public CreatePricingPlanRequest withTags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to a pricing plan.
tags
- A map that contains tag keys and tag values that are attached to a pricing plan.public CreatePricingPlanRequest addTagsEntry(String key, String value)
public CreatePricingPlanRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreatePricingPlanRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()