@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoScalingGroupEstimatedMonthlySavings extends Object implements Serializable, Cloneable, StructuredPojo
An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Auto Scaling group recommendations. This is based on the Savings Plans and Reserved Instances discounts.
Constructor and Description |
---|
AutoScalingGroupEstimatedMonthlySavings() |
Modifier and Type | Method and Description |
---|---|
AutoScalingGroupEstimatedMonthlySavings |
clone() |
boolean |
equals(Object obj) |
String |
getCurrency()
The currency of the estimated monthly savings.
|
Double |
getValue()
The value of the estimated monthly savings.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCurrency(String currency)
The currency of the estimated monthly savings.
|
void |
setValue(Double value)
The value of the estimated monthly savings.
|
String |
toString()
Returns a string representation of this object.
|
AutoScalingGroupEstimatedMonthlySavings |
withCurrency(Currency currency)
The currency of the estimated monthly savings.
|
AutoScalingGroupEstimatedMonthlySavings |
withCurrency(String currency)
The currency of the estimated monthly savings.
|
AutoScalingGroupEstimatedMonthlySavings |
withValue(Double value)
The value of the estimated monthly savings.
|
public AutoScalingGroupEstimatedMonthlySavings()
public void setCurrency(String currency)
The currency of the estimated monthly savings.
currency
- The currency of the estimated monthly savings.Currency
public String getCurrency()
The currency of the estimated monthly savings.
Currency
public AutoScalingGroupEstimatedMonthlySavings withCurrency(String currency)
The currency of the estimated monthly savings.
currency
- The currency of the estimated monthly savings.Currency
public AutoScalingGroupEstimatedMonthlySavings withCurrency(Currency currency)
The currency of the estimated monthly savings.
currency
- The currency of the estimated monthly savings.Currency
public void setValue(Double value)
The value of the estimated monthly savings.
value
- The value of the estimated monthly savings.public Double getValue()
The value of the estimated monthly savings.
public AutoScalingGroupEstimatedMonthlySavings withValue(Double value)
The value of the estimated monthly savings.
value
- The value of the estimated monthly savings.public String toString()
toString
in class Object
Object.toString()
public AutoScalingGroupEstimatedMonthlySavings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.