Class ECSSavingsOpportunityAfterDiscounts
- java.lang.Object
-
- software.amazon.awssdk.services.computeoptimizer.model.ECSSavingsOpportunityAfterDiscounts
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ECSSavingsOpportunityAfterDiscounts.Builder,ECSSavingsOpportunityAfterDiscounts>
@Generated("software.amazon.awssdk:codegen") public final class ECSSavingsOpportunityAfterDiscounts extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ECSSavingsOpportunityAfterDiscounts.Builder,ECSSavingsOpportunityAfterDiscounts>
Describes the savings opportunity for Amazon ECS service recommendations after applying Savings Plans discounts.
Savings opportunity represents the estimated monthly savings after applying Savings Plans discounts. You can achieve this by implementing a given Compute Optimizer recommendation.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceECSSavingsOpportunityAfterDiscounts.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ECSSavingsOpportunityAfterDiscounts.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ECSEstimatedMonthlySavingsestimatedMonthlySavings()The estimated monthly savings possible by adopting Compute Optimizer’s Amazon ECS service recommendations.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()DoublesavingsOpportunityPercentage()The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon ECS service recommendations.List<SdkField<?>>sdkFields()static Class<? extends ECSSavingsOpportunityAfterDiscounts.Builder>serializableBuilderClass()ECSSavingsOpportunityAfterDiscounts.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 by adopting Compute Optimizer’s Amazon ECS service recommendations. This includes any applicable Savings Plans discounts.
- Returns:
- The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon ECS service recommendations. This includes any applicable Savings Plans discounts.
-
estimatedMonthlySavings
public final ECSEstimatedMonthlySavings estimatedMonthlySavings()
The estimated monthly savings possible by adopting Compute Optimizer’s Amazon ECS service recommendations. This includes any applicable Savings Plans discounts.
- Returns:
- The estimated monthly savings possible by adopting Compute Optimizer’s Amazon ECS service recommendations. This includes any applicable Savings Plans discounts.
-
toBuilder
public ECSSavingsOpportunityAfterDiscounts.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ECSSavingsOpportunityAfterDiscounts.Builder,ECSSavingsOpportunityAfterDiscounts>
-
builder
public static ECSSavingsOpportunityAfterDiscounts.Builder builder()
-
serializableBuilderClass
public static Class<? extends ECSSavingsOpportunityAfterDiscounts.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.
-
-