Class ReservationPurchaseRecommendationSummary
- java.lang.Object
-
- software.amazon.awssdk.services.costexplorer.model.ReservationPurchaseRecommendationSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReservationPurchaseRecommendationSummary.Builder,ReservationPurchaseRecommendationSummary>
@Generated("software.amazon.awssdk:codegen") public final class ReservationPurchaseRecommendationSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReservationPurchaseRecommendationSummary.Builder,ReservationPurchaseRecommendationSummary>
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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReservationPurchaseRecommendationSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReservationPurchaseRecommendationSummary.Builderbuilder()StringcurrencyCode()The currency code used for this recommendation.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ReservationPurchaseRecommendationSummary.Builder>serializableBuilderClass()ReservationPurchaseRecommendationSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtotalEstimatedMonthlySavingsAmount()The total amount that Amazon Web Services estimates that this recommendation could save you in a month.StringtotalEstimatedMonthlySavingsPercentage()The total amount that Amazon Web Services estimates that this recommendation could save you in a month, as a percentage of your costs.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
totalEstimatedMonthlySavingsAmount
public final String totalEstimatedMonthlySavingsAmount()
The total amount that Amazon Web Services estimates that this recommendation could save you in a month.
- Returns:
- The total amount that Amazon Web Services estimates that this recommendation could save you in a month.
-
totalEstimatedMonthlySavingsPercentage
public final 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.
- Returns:
- The total amount that Amazon Web Services estimates that this recommendation could save you in a month, as a percentage of your costs.
-
currencyCode
public final String currencyCode()
The currency code used for this recommendation.
- Returns:
- The currency code used for this recommendation.
-
toBuilder
public ReservationPurchaseRecommendationSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReservationPurchaseRecommendationSummary.Builder,ReservationPurchaseRecommendationSummary>
-
builder
public static ReservationPurchaseRecommendationSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReservationPurchaseRecommendationSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-