Class IdleEstimatedMonthlySavings
- java.lang.Object
-
- software.amazon.awssdk.services.computeoptimizer.model.IdleEstimatedMonthlySavings
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<IdleEstimatedMonthlySavings.Builder,IdleEstimatedMonthlySavings>
@Generated("software.amazon.awssdk:codegen") public final class IdleEstimatedMonthlySavings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IdleEstimatedMonthlySavings.Builder,IdleEstimatedMonthlySavings>
Describes the estimated monthly savings possible for idle resources by adopting Compute Optimizer recommendations.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIdleEstimatedMonthlySavings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IdleEstimatedMonthlySavings.Builderbuilder()Currencycurrency()The currency of the estimated monthly savings.StringcurrencyAsString()The currency of the estimated monthly savings.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends IdleEstimatedMonthlySavings.Builder>serializableBuilderClass()IdleEstimatedMonthlySavings.BuildertoBuilder()StringtoString()Returns a string representation of this object.Doublevalue()The value of the estimated monthly savings for Idle resources.-
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
-
currency
public 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,
currencywill returnCurrency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcurrencyAsString().- Returns:
- The currency of the estimated monthly savings.
- See Also:
Currency
-
currencyAsString
public 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,
currencywill returnCurrency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcurrencyAsString().- Returns:
- The currency of the estimated monthly savings.
- See Also:
Currency
-
value
public final Double value()
The value of the estimated monthly savings for Idle resources.
- Returns:
- The value of the estimated monthly savings for Idle resources.
-
toBuilder
public IdleEstimatedMonthlySavings.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<IdleEstimatedMonthlySavings.Builder,IdleEstimatedMonthlySavings>
-
builder
public static IdleEstimatedMonthlySavings.Builder builder()
-
serializableBuilderClass
public static Class<? extends IdleEstimatedMonthlySavings.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-