Class InstanceSavingsOpportunityAfterDiscounts
- java.lang.Object
-
- software.amazon.awssdk.services.computeoptimizer.model.InstanceSavingsOpportunityAfterDiscounts
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InstanceSavingsOpportunityAfterDiscounts.Builder,InstanceSavingsOpportunityAfterDiscounts>
@Generated("software.amazon.awssdk:codegen") public final class InstanceSavingsOpportunityAfterDiscounts extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceSavingsOpportunityAfterDiscounts.Builder,InstanceSavingsOpportunityAfterDiscounts>
Describes the savings opportunity for instance recommendations after applying the Savings Plans and Reserved Instances discounts.
Savings opportunity after discounts represents the estimated monthly savings you can achieve by implementing Compute Optimizer recommendations.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInstanceSavingsOpportunityAfterDiscounts.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstanceSavingsOpportunityAfterDiscounts.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstanceEstimatedMonthlySavingsestimatedMonthlySavings()An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Amazon EC2 instance recommendations.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()DoublesavingsOpportunityPercentage()The estimated monthly savings possible as a percentage of monthly cost after applying the Savings Plans and Reserved Instances discounts.List<SdkField<?>>sdkFields()static Class<? extends InstanceSavingsOpportunityAfterDiscounts.Builder>serializableBuilderClass()InstanceSavingsOpportunityAfterDiscounts.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
-
savingsOpportunityPercentage
public final Double savingsOpportunityPercentage()
The estimated monthly savings possible as a percentage of monthly cost after applying the Savings Plans and Reserved Instances discounts. This saving can be achieved by adopting Compute Optimizer’s EC2 instance recommendations.
- Returns:
- The estimated monthly savings possible as a percentage of monthly cost after applying the Savings Plans and Reserved Instances discounts. This saving can be achieved by adopting Compute Optimizer’s EC2 instance recommendations.
-
estimatedMonthlySavings
public final InstanceEstimatedMonthlySavings estimatedMonthlySavings()
An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Amazon EC2 instance recommendations. This is based on pricing after applying the Savings Plans and Reserved Instances discounts.
- Returns:
- An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Amazon EC2 instance recommendations. This is based on pricing after applying the Savings Plans and Reserved Instances discounts.
-
toBuilder
public InstanceSavingsOpportunityAfterDiscounts.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InstanceSavingsOpportunityAfterDiscounts.Builder,InstanceSavingsOpportunityAfterDiscounts>
-
builder
public static InstanceSavingsOpportunityAfterDiscounts.Builder builder()
-
serializableBuilderClass
public static Class<? extends InstanceSavingsOpportunityAfterDiscounts.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.
-
-