Class AutoScalingGroupSavingsOpportunityAfterDiscounts
- java.lang.Object
-
- software.amazon.awssdk.services.computeoptimizer.model.AutoScalingGroupSavingsOpportunityAfterDiscounts
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AutoScalingGroupSavingsOpportunityAfterDiscounts.Builder,AutoScalingGroupSavingsOpportunityAfterDiscounts>
@Generated("software.amazon.awssdk:codegen") public final class AutoScalingGroupSavingsOpportunityAfterDiscounts extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutoScalingGroupSavingsOpportunityAfterDiscounts.Builder,AutoScalingGroupSavingsOpportunityAfterDiscounts>
Describes the savings opportunity for Auto Scaling group recommendations after applying the Savings Plans and Reserved Instances discounts.
Savings opportunity 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 interfaceAutoScalingGroupSavingsOpportunityAfterDiscounts.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutoScalingGroupSavingsOpportunityAfterDiscounts.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)AutoScalingGroupEstimatedMonthlySavingsestimatedMonthlySavings()An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Auto Scaling group 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 AutoScalingGroupSavingsOpportunityAfterDiscounts.Builder>serializableBuilderClass()AutoScalingGroupSavingsOpportunityAfterDiscounts.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 Auto Scaling group 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 Auto Scaling group recommendations.
-
estimatedMonthlySavings
public final AutoScalingGroupEstimatedMonthlySavings estimatedMonthlySavings()
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 pricing discounts.
- Returns:
- 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 pricing discounts.
-
toBuilder
public AutoScalingGroupSavingsOpportunityAfterDiscounts.Builder toBuilder()
-
builder
public static AutoScalingGroupSavingsOpportunityAfterDiscounts.Builder builder()
-
serializableBuilderClass
public static Class<? extends AutoScalingGroupSavingsOpportunityAfterDiscounts.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.
-
-