@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SavingsPlansSavings extends Object implements Serializable, Cloneable, StructuredPojo
The amount of savings that you're accumulating, against the public On-Demand rate of the usage accrued in an account.
Constructor and Description |
---|
SavingsPlansSavings() |
Modifier and Type | Method and Description |
---|---|
SavingsPlansSavings |
clone() |
boolean |
equals(Object obj) |
String |
getNetSavings()
The savings amount that you're accumulating for the usage that's covered by a Savings Plans, when compared to the
On-Demand equivalent of the same usage.
|
String |
getOnDemandCostEquivalent()
How much the amount that the usage would have cost if it was accrued at the On-Demand rate.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setNetSavings(String netSavings)
The savings amount that you're accumulating for the usage that's covered by a Savings Plans, when compared to the
On-Demand equivalent of the same usage.
|
void |
setOnDemandCostEquivalent(String onDemandCostEquivalent)
How much the amount that the usage would have cost if it was accrued at the On-Demand rate.
|
String |
toString()
Returns a string representation of this object.
|
SavingsPlansSavings |
withNetSavings(String netSavings)
The savings amount that you're accumulating for the usage that's covered by a Savings Plans, when compared to the
On-Demand equivalent of the same usage.
|
SavingsPlansSavings |
withOnDemandCostEquivalent(String onDemandCostEquivalent)
How much the amount that the usage would have cost if it was accrued at the On-Demand rate.
|
public void setNetSavings(String netSavings)
The savings amount that you're accumulating for the usage that's covered by a Savings Plans, when compared to the On-Demand equivalent of the same usage.
netSavings
- The savings amount that you're accumulating for the usage that's covered by a Savings Plans, when compared
to the On-Demand equivalent of the same usage.public String getNetSavings()
The savings amount that you're accumulating for the usage that's covered by a Savings Plans, when compared to the On-Demand equivalent of the same usage.
public SavingsPlansSavings withNetSavings(String netSavings)
The savings amount that you're accumulating for the usage that's covered by a Savings Plans, when compared to the On-Demand equivalent of the same usage.
netSavings
- The savings amount that you're accumulating for the usage that's covered by a Savings Plans, when compared
to the On-Demand equivalent of the same usage.public void setOnDemandCostEquivalent(String onDemandCostEquivalent)
How much the amount that the usage would have cost if it was accrued at the On-Demand rate.
onDemandCostEquivalent
- How much the amount that the usage would have cost if it was accrued at the On-Demand rate.public String getOnDemandCostEquivalent()
How much the amount that the usage would have cost if it was accrued at the On-Demand rate.
public SavingsPlansSavings withOnDemandCostEquivalent(String onDemandCostEquivalent)
How much the amount that the usage would have cost if it was accrued at the On-Demand rate.
onDemandCostEquivalent
- How much the amount that the usage would have cost if it was accrued at the On-Demand rate.public String toString()
toString
in class Object
Object.toString()
public SavingsPlansSavings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.