@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPricingPlansResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListPricingPlansResult() |
| Modifier and Type | Method and Description |
|---|---|
ListPricingPlansResult |
clone() |
boolean |
equals(Object obj) |
String |
getBillingPeriod()
The billing period for which the described pricing plans are applicable.
|
String |
getNextToken()
The pagination token that's used on subsequent calls to get pricing plans.
|
List<PricingPlanListElement> |
getPricingPlans()
A list of
PricingPlanListElement retrieved. |
int |
hashCode() |
void |
setBillingPeriod(String billingPeriod)
The billing period for which the described pricing plans are applicable.
|
void |
setNextToken(String nextToken)
The pagination token that's used on subsequent calls to get pricing plans.
|
void |
setPricingPlans(Collection<PricingPlanListElement> pricingPlans)
A list of
PricingPlanListElement retrieved. |
String |
toString()
Returns a string representation of this object.
|
ListPricingPlansResult |
withBillingPeriod(String billingPeriod)
The billing period for which the described pricing plans are applicable.
|
ListPricingPlansResult |
withNextToken(String nextToken)
The pagination token that's used on subsequent calls to get pricing plans.
|
ListPricingPlansResult |
withPricingPlans(Collection<PricingPlanListElement> pricingPlans)
A list of
PricingPlanListElement retrieved. |
ListPricingPlansResult |
withPricingPlans(PricingPlanListElement... pricingPlans)
A list of
PricingPlanListElement retrieved. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setBillingPeriod(String billingPeriod)
The billing period for which the described pricing plans are applicable.
billingPeriod - The billing period for which the described pricing plans are applicable.public String getBillingPeriod()
The billing period for which the described pricing plans are applicable.
public ListPricingPlansResult withBillingPeriod(String billingPeriod)
The billing period for which the described pricing plans are applicable.
billingPeriod - The billing period for which the described pricing plans are applicable.public List<PricingPlanListElement> getPricingPlans()
A list of PricingPlanListElement retrieved.
PricingPlanListElement retrieved.public void setPricingPlans(Collection<PricingPlanListElement> pricingPlans)
A list of PricingPlanListElement retrieved.
pricingPlans - A list of PricingPlanListElement retrieved.public ListPricingPlansResult withPricingPlans(PricingPlanListElement... pricingPlans)
A list of PricingPlanListElement retrieved.
NOTE: This method appends the values to the existing list (if any). Use
setPricingPlans(java.util.Collection) or withPricingPlans(java.util.Collection) if you want to
override the existing values.
pricingPlans - A list of PricingPlanListElement retrieved.public ListPricingPlansResult withPricingPlans(Collection<PricingPlanListElement> pricingPlans)
A list of PricingPlanListElement retrieved.
pricingPlans - A list of PricingPlanListElement retrieved.public void setNextToken(String nextToken)
The pagination token that's used on subsequent calls to get pricing plans.
nextToken - The pagination token that's used on subsequent calls to get pricing plans.public String getNextToken()
The pagination token that's used on subsequent calls to get pricing plans.
public ListPricingPlansResult withNextToken(String nextToken)
The pagination token that's used on subsequent calls to get pricing plans.
nextToken - The pagination token that's used on subsequent calls to get pricing plans.public String toString()
toString in class ObjectObject.toString()public ListPricingPlansResult clone()