@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Ec2InstanceSavingsPlans extends Object implements Serializable, Cloneable, StructuredPojo
The EC2 instance Savings Plans recommendation details.
Constructor and Description |
---|
Ec2InstanceSavingsPlans() |
Modifier and Type | Method and Description |
---|---|
Ec2InstanceSavingsPlans |
clone() |
boolean |
equals(Object obj) |
Ec2InstanceSavingsPlansConfiguration |
getConfiguration()
The EC2 instance Savings Plans configuration used for recommendations.
|
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(Ec2InstanceSavingsPlansConfiguration configuration)
The EC2 instance Savings Plans configuration used for recommendations.
|
void |
setCostCalculation(SavingsPlansCostCalculation costCalculation)
Cost impact of the Savings Plans purchase recommendation.
|
String |
toString()
Returns a string representation of this object.
|
Ec2InstanceSavingsPlans |
withConfiguration(Ec2InstanceSavingsPlansConfiguration configuration)
The EC2 instance Savings Plans configuration used for recommendations.
|
Ec2InstanceSavingsPlans |
withCostCalculation(SavingsPlansCostCalculation costCalculation)
Cost impact of the Savings Plans purchase recommendation.
|
public void setConfiguration(Ec2InstanceSavingsPlansConfiguration configuration)
The EC2 instance Savings Plans configuration used for recommendations.
configuration
- The EC2 instance Savings Plans configuration used for recommendations.public Ec2InstanceSavingsPlansConfiguration getConfiguration()
The EC2 instance Savings Plans configuration used for recommendations.
public Ec2InstanceSavingsPlans withConfiguration(Ec2InstanceSavingsPlansConfiguration configuration)
The EC2 instance Savings Plans configuration used for recommendations.
configuration
- The EC2 instance Savings Plans configuration used for recommendations.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 Ec2InstanceSavingsPlans 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 Ec2InstanceSavingsPlans clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.