@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComputeSavingsPlans extends Object implements Serializable, Cloneable, StructuredPojo
The Compute Savings Plans recommendation details.
Constructor and Description |
---|
ComputeSavingsPlans() |
Modifier and Type | Method and Description |
---|---|
ComputeSavingsPlans |
clone() |
boolean |
equals(Object obj) |
ComputeSavingsPlansConfiguration |
getConfiguration()
Configuration details of the Compute Savings Plans to purchase.
|
SavingsPlansCostCalculation |
getCostCalculation()
Cost impact of the Savings Plans purchase recommendation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfiguration(ComputeSavingsPlansConfiguration configuration)
Configuration details of the Compute Savings Plans to purchase.
|
void |
setCostCalculation(SavingsPlansCostCalculation costCalculation)
Cost impact of the Savings Plans purchase recommendation.
|
String |
toString()
Returns a string representation of this object.
|
ComputeSavingsPlans |
withConfiguration(ComputeSavingsPlansConfiguration configuration)
Configuration details of the Compute Savings Plans to purchase.
|
ComputeSavingsPlans |
withCostCalculation(SavingsPlansCostCalculation costCalculation)
Cost impact of the Savings Plans purchase recommendation.
|
public void setConfiguration(ComputeSavingsPlansConfiguration configuration)
Configuration details of the Compute Savings Plans to purchase.
configuration
- Configuration details of the Compute Savings Plans to purchase.public ComputeSavingsPlansConfiguration getConfiguration()
Configuration details of the Compute Savings Plans to purchase.
public ComputeSavingsPlans withConfiguration(ComputeSavingsPlansConfiguration configuration)
Configuration details of the Compute Savings Plans to purchase.
configuration
- Configuration details of the Compute Savings Plans to purchase.public void setCostCalculation(SavingsPlansCostCalculation costCalculation)
Cost impact of the Savings Plans purchase recommendation.
costCalculation
- Cost impact of the Savings Plans purchase recommendation.public SavingsPlansCostCalculation getCostCalculation()
Cost impact of the Savings Plans purchase recommendation.
public ComputeSavingsPlans withCostCalculation(SavingsPlansCostCalculation costCalculation)
Cost impact of the Savings Plans purchase recommendation.
costCalculation
- Cost impact of the Savings Plans purchase recommendation.public String toString()
toString
in class Object
Object.toString()
public ComputeSavingsPlans clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.