@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPricingPlanResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetPricingPlanResult() |
| Modifier and Type | Method and Description |
|---|---|
GetPricingPlanResult |
clone() |
boolean |
equals(Object obj) |
PricingPlan |
getCurrentPricingPlan()
The chosen pricing plan for the current billing cycle.
|
PricingPlan |
getPendingPricingPlan()
The pending pricing plan.
|
int |
hashCode() |
void |
setCurrentPricingPlan(PricingPlan currentPricingPlan)
The chosen pricing plan for the current billing cycle.
|
void |
setPendingPricingPlan(PricingPlan pendingPricingPlan)
The pending pricing plan.
|
String |
toString()
Returns a string representation of this object.
|
GetPricingPlanResult |
withCurrentPricingPlan(PricingPlan currentPricingPlan)
The chosen pricing plan for the current billing cycle.
|
GetPricingPlanResult |
withPendingPricingPlan(PricingPlan pendingPricingPlan)
The pending pricing plan.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setCurrentPricingPlan(PricingPlan currentPricingPlan)
The chosen pricing plan for the current billing cycle.
currentPricingPlan - The chosen pricing plan for the current billing cycle.public PricingPlan getCurrentPricingPlan()
The chosen pricing plan for the current billing cycle.
public GetPricingPlanResult withCurrentPricingPlan(PricingPlan currentPricingPlan)
The chosen pricing plan for the current billing cycle.
currentPricingPlan - The chosen pricing plan for the current billing cycle.public void setPendingPricingPlan(PricingPlan pendingPricingPlan)
The pending pricing plan.
pendingPricingPlan - The pending pricing plan.public PricingPlan getPendingPricingPlan()
The pending pricing plan.
public GetPricingPlanResult withPendingPricingPlan(PricingPlan pendingPricingPlan)
The pending pricing plan.
pendingPricingPlan - The pending pricing plan.public String toString()
toString in class ObjectObject.toString()public GetPricingPlanResult clone()