@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EstimatedDiscounts extends Object implements Serializable, Cloneable, StructuredPojo
Estimated discount details of the current and recommended resource configuration for a recommendation.
Constructor and Description |
---|
EstimatedDiscounts() |
Modifier and Type | Method and Description |
---|---|
EstimatedDiscounts |
clone() |
boolean |
equals(Object obj) |
Double |
getOtherDiscount()
Estimated other discounts include all discounts that are not itemized.
|
Double |
getReservedInstancesDiscount()
Estimated reserved instance discounts.
|
Double |
getSavingsPlansDiscount()
Estimated Savings Plans discounts.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setOtherDiscount(Double otherDiscount)
Estimated other discounts include all discounts that are not itemized.
|
void |
setReservedInstancesDiscount(Double reservedInstancesDiscount)
Estimated reserved instance discounts.
|
void |
setSavingsPlansDiscount(Double savingsPlansDiscount)
Estimated Savings Plans discounts.
|
String |
toString()
Returns a string representation of this object.
|
EstimatedDiscounts |
withOtherDiscount(Double otherDiscount)
Estimated other discounts include all discounts that are not itemized.
|
EstimatedDiscounts |
withReservedInstancesDiscount(Double reservedInstancesDiscount)
Estimated reserved instance discounts.
|
EstimatedDiscounts |
withSavingsPlansDiscount(Double savingsPlansDiscount)
Estimated Savings Plans discounts.
|
public void setSavingsPlansDiscount(Double savingsPlansDiscount)
Estimated Savings Plans discounts.
savingsPlansDiscount
- Estimated Savings Plans discounts.public Double getSavingsPlansDiscount()
Estimated Savings Plans discounts.
public EstimatedDiscounts withSavingsPlansDiscount(Double savingsPlansDiscount)
Estimated Savings Plans discounts.
savingsPlansDiscount
- Estimated Savings Plans discounts.public void setReservedInstancesDiscount(Double reservedInstancesDiscount)
Estimated reserved instance discounts.
reservedInstancesDiscount
- Estimated reserved instance discounts.public Double getReservedInstancesDiscount()
Estimated reserved instance discounts.
public EstimatedDiscounts withReservedInstancesDiscount(Double reservedInstancesDiscount)
Estimated reserved instance discounts.
reservedInstancesDiscount
- Estimated reserved instance discounts.public void setOtherDiscount(Double otherDiscount)
Estimated other discounts include all discounts that are not itemized. Itemized discounts include
reservedInstanceDiscount
and savingsPlansDiscount
.
otherDiscount
- Estimated other discounts include all discounts that are not itemized. Itemized discounts include
reservedInstanceDiscount
and savingsPlansDiscount
.public Double getOtherDiscount()
Estimated other discounts include all discounts that are not itemized. Itemized discounts include
reservedInstanceDiscount
and savingsPlansDiscount
.
reservedInstanceDiscount
and savingsPlansDiscount
.public EstimatedDiscounts withOtherDiscount(Double otherDiscount)
Estimated other discounts include all discounts that are not itemized. Itemized discounts include
reservedInstanceDiscount
and savingsPlansDiscount
.
otherDiscount
- Estimated other discounts include all discounts that are not itemized. Itemized discounts include
reservedInstanceDiscount
and savingsPlansDiscount
.public String toString()
toString
in class Object
Object.toString()
public EstimatedDiscounts clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.