@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPricingRulesAssociatedToPricingPlanResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListPricingRulesAssociatedToPricingPlanResult() |
Modifier and Type | Method and Description |
---|---|
ListPricingRulesAssociatedToPricingPlanResult |
clone() |
boolean |
equals(Object obj) |
String |
getBillingPeriod()
The billing period for which the pricing rule associations are listed.
|
String |
getNextToken()
The pagination token to be used on subsequent calls.
|
String |
getPricingPlanArn()
The Amazon Resource Name (ARN) of the pricing plan for which associations are listed.
|
List<String> |
getPricingRuleArns()
A list containing pricing rules that are associated with the requested pricing plan.
|
int |
hashCode() |
void |
setBillingPeriod(String billingPeriod)
The billing period for which the pricing rule associations are listed.
|
void |
setNextToken(String nextToken)
The pagination token to be used on subsequent calls.
|
void |
setPricingPlanArn(String pricingPlanArn)
The Amazon Resource Name (ARN) of the pricing plan for which associations are listed.
|
void |
setPricingRuleArns(Collection<String> pricingRuleArns)
A list containing pricing rules that are associated with the requested pricing plan.
|
String |
toString()
Returns a string representation of this object.
|
ListPricingRulesAssociatedToPricingPlanResult |
withBillingPeriod(String billingPeriod)
The billing period for which the pricing rule associations are listed.
|
ListPricingRulesAssociatedToPricingPlanResult |
withNextToken(String nextToken)
The pagination token to be used on subsequent calls.
|
ListPricingRulesAssociatedToPricingPlanResult |
withPricingPlanArn(String pricingPlanArn)
The Amazon Resource Name (ARN) of the pricing plan for which associations are listed.
|
ListPricingRulesAssociatedToPricingPlanResult |
withPricingRuleArns(Collection<String> pricingRuleArns)
A list containing pricing rules that are associated with the requested pricing plan.
|
ListPricingRulesAssociatedToPricingPlanResult |
withPricingRuleArns(String... pricingRuleArns)
A list containing pricing rules that are associated with the requested pricing plan.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListPricingRulesAssociatedToPricingPlanResult()
public void setBillingPeriod(String billingPeriod)
The billing period for which the pricing rule associations are listed.
billingPeriod
- The billing period for which the pricing rule associations are listed.public String getBillingPeriod()
The billing period for which the pricing rule associations are listed.
public ListPricingRulesAssociatedToPricingPlanResult withBillingPeriod(String billingPeriod)
The billing period for which the pricing rule associations are listed.
billingPeriod
- The billing period for which the pricing rule associations are listed.public void setPricingPlanArn(String pricingPlanArn)
The Amazon Resource Name (ARN) of the pricing plan for which associations are listed.
pricingPlanArn
- The Amazon Resource Name (ARN) of the pricing plan for which associations are listed.public String getPricingPlanArn()
The Amazon Resource Name (ARN) of the pricing plan for which associations are listed.
public ListPricingRulesAssociatedToPricingPlanResult withPricingPlanArn(String pricingPlanArn)
The Amazon Resource Name (ARN) of the pricing plan for which associations are listed.
pricingPlanArn
- The Amazon Resource Name (ARN) of the pricing plan for which associations are listed.public List<String> getPricingRuleArns()
A list containing pricing rules that are associated with the requested pricing plan.
public void setPricingRuleArns(Collection<String> pricingRuleArns)
A list containing pricing rules that are associated with the requested pricing plan.
pricingRuleArns
- A list containing pricing rules that are associated with the requested pricing plan.public ListPricingRulesAssociatedToPricingPlanResult withPricingRuleArns(String... pricingRuleArns)
A list containing pricing rules that are associated with the requested 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
- A list containing pricing rules that are associated with the requested pricing plan.public ListPricingRulesAssociatedToPricingPlanResult withPricingRuleArns(Collection<String> pricingRuleArns)
A list containing pricing rules that are associated with the requested pricing plan.
pricingRuleArns
- A list containing pricing rules that are associated with the requested pricing plan.public void setNextToken(String nextToken)
The pagination token to be used on subsequent calls.
nextToken
- The pagination token to be used on subsequent calls.public String getNextToken()
The pagination token to be used on subsequent calls.
public ListPricingRulesAssociatedToPricingPlanResult withNextToken(String nextToken)
The pagination token to be used on subsequent calls.
nextToken
- The pagination token to be used on subsequent calls.public String toString()
toString
in class Object
Object.toString()
public ListPricingRulesAssociatedToPricingPlanResult clone()