@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociatePricingRulesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AssociatePricingRulesRequest() |
Modifier and Type | Method and Description |
---|---|
AssociatePricingRulesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getArn()
The
PricingPlanArn that the PricingRuleArns are associated with. |
List<String> |
getPricingRuleArns()
The
PricingRuleArns that are associated with the Pricing Plan. |
int |
hashCode() |
void |
setArn(String arn)
The
PricingPlanArn that the PricingRuleArns are associated with. |
void |
setPricingRuleArns(Collection<String> pricingRuleArns)
The
PricingRuleArns that are associated with the Pricing Plan. |
String |
toString()
Returns a string representation of this object.
|
AssociatePricingRulesRequest |
withArn(String arn)
The
PricingPlanArn that the PricingRuleArns are associated with. |
AssociatePricingRulesRequest |
withPricingRuleArns(Collection<String> pricingRuleArns)
The
PricingRuleArns that are associated with the Pricing Plan. |
AssociatePricingRulesRequest |
withPricingRuleArns(String... pricingRuleArns)
The
PricingRuleArns that are associated with the 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 setArn(String arn)
The PricingPlanArn
that the PricingRuleArns
are associated with.
arn
- The PricingPlanArn
that the PricingRuleArns
are associated with.public String getArn()
The PricingPlanArn
that the PricingRuleArns
are associated with.
PricingPlanArn
that the PricingRuleArns
are associated with.public AssociatePricingRulesRequest withArn(String arn)
The PricingPlanArn
that the PricingRuleArns
are associated with.
arn
- The PricingPlanArn
that the PricingRuleArns
are associated with.public List<String> getPricingRuleArns()
The PricingRuleArns
that are associated with the Pricing Plan.
PricingRuleArns
that are associated with the Pricing Plan.public void setPricingRuleArns(Collection<String> pricingRuleArns)
The PricingRuleArns
that are associated with the Pricing Plan.
pricingRuleArns
- The PricingRuleArns
that are associated with the Pricing Plan.public AssociatePricingRulesRequest withPricingRuleArns(String... pricingRuleArns)
The PricingRuleArns
that are associated with the Pricing Plan.
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
- The PricingRuleArns
that are associated with the Pricing Plan.public AssociatePricingRulesRequest withPricingRuleArns(Collection<String> pricingRuleArns)
The PricingRuleArns
that are associated with the Pricing Plan.
pricingRuleArns
- The PricingRuleArns
that are associated with the Pricing Plan.public String toString()
toString
in class Object
Object.toString()
public AssociatePricingRulesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()