@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReservationPurchaseRecommendationSummary extends Object implements Serializable, Cloneable, StructuredPojo
A summary about this recommendation, such as the currency code, the amount that Amazon Web Services estimates that you could save, and the total amount of reservation to purchase.
Constructor and Description |
---|
ReservationPurchaseRecommendationSummary() |
Modifier and Type | Method and Description |
---|---|
ReservationPurchaseRecommendationSummary |
clone() |
boolean |
equals(Object obj) |
String |
getCurrencyCode()
The currency code used for this recommendation.
|
String |
getTotalEstimatedMonthlySavingsAmount()
The total amount that Amazon Web Services estimates that this recommendation could save you in a month.
|
String |
getTotalEstimatedMonthlySavingsPercentage()
The total amount that Amazon Web Services estimates that this recommendation could save you in a month, as a
percentage of your costs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCurrencyCode(String currencyCode)
The currency code used for this recommendation.
|
void |
setTotalEstimatedMonthlySavingsAmount(String totalEstimatedMonthlySavingsAmount)
The total amount that Amazon Web Services estimates that this recommendation could save you in a month.
|
void |
setTotalEstimatedMonthlySavingsPercentage(String totalEstimatedMonthlySavingsPercentage)
The total amount that Amazon Web Services estimates that this recommendation could save you in a month, as a
percentage of your costs.
|
String |
toString()
Returns a string representation of this object.
|
ReservationPurchaseRecommendationSummary |
withCurrencyCode(String currencyCode)
The currency code used for this recommendation.
|
ReservationPurchaseRecommendationSummary |
withTotalEstimatedMonthlySavingsAmount(String totalEstimatedMonthlySavingsAmount)
The total amount that Amazon Web Services estimates that this recommendation could save you in a month.
|
ReservationPurchaseRecommendationSummary |
withTotalEstimatedMonthlySavingsPercentage(String totalEstimatedMonthlySavingsPercentage)
The total amount that Amazon Web Services estimates that this recommendation could save you in a month, as a
percentage of your costs.
|
public ReservationPurchaseRecommendationSummary()
public void setTotalEstimatedMonthlySavingsAmount(String totalEstimatedMonthlySavingsAmount)
The total amount that Amazon Web Services estimates that this recommendation could save you in a month.
totalEstimatedMonthlySavingsAmount
- The total amount that Amazon Web Services estimates that this recommendation could save you in a month.public String getTotalEstimatedMonthlySavingsAmount()
The total amount that Amazon Web Services estimates that this recommendation could save you in a month.
public ReservationPurchaseRecommendationSummary withTotalEstimatedMonthlySavingsAmount(String totalEstimatedMonthlySavingsAmount)
The total amount that Amazon Web Services estimates that this recommendation could save you in a month.
totalEstimatedMonthlySavingsAmount
- The total amount that Amazon Web Services estimates that this recommendation could save you in a month.public void setTotalEstimatedMonthlySavingsPercentage(String totalEstimatedMonthlySavingsPercentage)
The total amount that Amazon Web Services estimates that this recommendation could save you in a month, as a percentage of your costs.
totalEstimatedMonthlySavingsPercentage
- The total amount that Amazon Web Services estimates that this recommendation could save you in a month, as
a percentage of your costs.public String getTotalEstimatedMonthlySavingsPercentage()
The total amount that Amazon Web Services estimates that this recommendation could save you in a month, as a percentage of your costs.
public ReservationPurchaseRecommendationSummary withTotalEstimatedMonthlySavingsPercentage(String totalEstimatedMonthlySavingsPercentage)
The total amount that Amazon Web Services estimates that this recommendation could save you in a month, as a percentage of your costs.
totalEstimatedMonthlySavingsPercentage
- The total amount that Amazon Web Services estimates that this recommendation could save you in a month, as
a percentage of your costs.public void setCurrencyCode(String currencyCode)
The currency code used for this recommendation.
currencyCode
- The currency code used for this recommendation.public String getCurrencyCode()
The currency code used for this recommendation.
public ReservationPurchaseRecommendationSummary withCurrencyCode(String currencyCode)
The currency code used for this recommendation.
currencyCode
- The currency code used for this recommendation.public String toString()
toString
in class Object
Object.toString()
public ReservationPurchaseRecommendationSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.