@Generated(value="software.amazon.awssdk:codegen") public final class SavingsOpportunity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SavingsOpportunity.Builder,SavingsOpportunity>
Describes the savings opportunity for recommendations of a given resource type or for the recommendation option of an individual resource.
Savings opportunity represents the estimated monthly savings you can achieve by implementing a given Compute Optimizer recommendation.
Savings opportunity data requires that you opt in to Cost Explorer, as well as activate Receive Amazon EC2 resource recommendations in the Cost Explorer preferences page. That creates a connection between Cost Explorer and Compute Optimizer. With this connection, Cost Explorer generates savings estimates considering the price of existing resources, the price of recommended resources, and historical usage data. Estimated monthly savings reflects the projected dollar savings associated with each of the recommendations generated. For more information, see Enabling Cost Explorer and Optimizing your cost with Rightsizing Recommendations in the Cost Management User Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SavingsOpportunity.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SavingsOpportunity.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
EstimatedMonthlySavings |
estimatedMonthlySavings()
An object that describes the estimated monthly savings amount possible by adopting Compute Optimizer
recommendations for a given resource.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Double |
savingsOpportunityPercentage()
The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer
recommendations for a given resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SavingsOpportunity.Builder> |
serializableBuilderClass() |
SavingsOpportunity.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Double savingsOpportunityPercentage()
The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer recommendations for a given resource.
public final EstimatedMonthlySavings estimatedMonthlySavings()
An object that describes the estimated monthly savings amount possible by adopting Compute Optimizer recommendations for a given resource. This is based on the On-Demand instance pricing..
public SavingsOpportunity.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SavingsOpportunity.Builder,SavingsOpportunity>public static SavingsOpportunity.Builder builder()
public static Class<? extends SavingsOpportunity.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.