Class EstimatedDiscounts
- java.lang.Object
-
- software.amazon.awssdk.services.costoptimizationhub.model.EstimatedDiscounts
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EstimatedDiscounts.Builder,EstimatedDiscounts>
@Generated("software.amazon.awssdk:codegen") public final class EstimatedDiscounts extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EstimatedDiscounts.Builder,EstimatedDiscounts>
Estimated discount details of the current and recommended resource configuration for a recommendation.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEstimatedDiscounts.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EstimatedDiscounts.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()DoubleotherDiscount()Estimated other discounts include all discounts that are not itemized.DoublereservedInstancesDiscount()Estimated reserved instance discounts.DoublesavingsPlansDiscount()Estimated Savings Plans discounts.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends EstimatedDiscounts.Builder>serializableBuilderClass()EstimatedDiscounts.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
savingsPlansDiscount
public final Double savingsPlansDiscount()
Estimated Savings Plans discounts.
- Returns:
- Estimated Savings Plans discounts.
-
reservedInstancesDiscount
public final Double reservedInstancesDiscount()
Estimated reserved instance discounts.
- Returns:
- Estimated reserved instance discounts.
-
otherDiscount
public final Double otherDiscount()
Estimated other discounts include all discounts that are not itemized. Itemized discounts include
reservedInstanceDiscountandsavingsPlansDiscount.- Returns:
- Estimated other discounts include all discounts that are not itemized. Itemized discounts include
reservedInstanceDiscountandsavingsPlansDiscount.
-
toBuilder
public EstimatedDiscounts.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EstimatedDiscounts.Builder,EstimatedDiscounts>
-
builder
public static EstimatedDiscounts.Builder builder()
-
serializableBuilderClass
public static Class<? extends EstimatedDiscounts.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-