@Generated(value="software.amazon.awssdk:codegen") public final class EstimatedMonthlySavings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EstimatedMonthlySavings.Builder,EstimatedMonthlySavings>
Describes the estimated monthly savings amount possible, based on On-Demand instance pricing, by adopting Compute Optimizer recommendations for a given resource.
For more information, see Estimated monthly savings and savings opportunities in the Compute Optimizer User Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EstimatedMonthlySavings.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EstimatedMonthlySavings.Builder |
builder() |
Currency |
currency()
The currency of the estimated monthly savings.
|
String |
currencyAsString()
The currency of the estimated monthly savings.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends EstimatedMonthlySavings.Builder> |
serializableBuilderClass() |
EstimatedMonthlySavings.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Double |
value()
The value of the estimated monthly savings.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Currency currency()
The currency of the estimated monthly savings.
If the service returns an enum value that is not available in the current SDK version, currency will
return Currency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
currencyAsString().
Currencypublic final String currencyAsString()
The currency of the estimated monthly savings.
If the service returns an enum value that is not available in the current SDK version, currency will
return Currency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
currencyAsString().
Currencypublic final Double value()
The value of the estimated monthly savings.
public EstimatedMonthlySavings.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EstimatedMonthlySavings.Builder,EstimatedMonthlySavings>public static EstimatedMonthlySavings.Builder builder()
public static Class<? extends EstimatedMonthlySavings.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.