Class CoverageNormalizedUnits
- java.lang.Object
-
- software.amazon.awssdk.services.costexplorer.model.CoverageNormalizedUnits
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CoverageNormalizedUnits.Builder,CoverageNormalizedUnits>
@Generated("software.amazon.awssdk:codegen") public final class CoverageNormalizedUnits extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CoverageNormalizedUnits.Builder,CoverageNormalizedUnits>
The amount of instance usage, in normalized units. You can use normalized units to see your EC2 usage for multiple sizes of instances in a uniform way. For example, suppose that you run an xlarge instance and a 2xlarge instance. If you run both instances for the same amount of time, the 2xlarge instance uses twice as much of your reservation as the xlarge instance, even though both instances show only one instance-hour. When you use normalized units instead of instance-hours, the xlarge instance used 8 normalized units, and the 2xlarge instance used 16 normalized units.
For more information, see Modifying Reserved Instances in the Amazon Elastic Compute Cloud User Guide for Linux Instances.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCoverageNormalizedUnits.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CoverageNormalizedUnits.Builderbuilder()StringcoverageNormalizedUnitsPercentage()The percentage of your used instance normalized units that a reservation covers.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringonDemandNormalizedUnits()The number of normalized units that are covered by On-Demand Instances instead of a reservation.StringreservedNormalizedUnits()The number of normalized units that a reservation covers.List<SdkField<?>>sdkFields()static Class<? extends CoverageNormalizedUnits.Builder>serializableBuilderClass()CoverageNormalizedUnits.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtotalRunningNormalizedUnits()The total number of normalized units that you used.-
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
-
onDemandNormalizedUnits
public final String onDemandNormalizedUnits()
The number of normalized units that are covered by On-Demand Instances instead of a reservation.
- Returns:
- The number of normalized units that are covered by On-Demand Instances instead of a reservation.
-
reservedNormalizedUnits
public final String reservedNormalizedUnits()
The number of normalized units that a reservation covers.
- Returns:
- The number of normalized units that a reservation covers.
-
totalRunningNormalizedUnits
public final String totalRunningNormalizedUnits()
The total number of normalized units that you used.
- Returns:
- The total number of normalized units that you used.
-
coverageNormalizedUnitsPercentage
public final String coverageNormalizedUnitsPercentage()
The percentage of your used instance normalized units that a reservation covers.
- Returns:
- The percentage of your used instance normalized units that a reservation covers.
-
toBuilder
public CoverageNormalizedUnits.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CoverageNormalizedUnits.Builder,CoverageNormalizedUnits>
-
builder
public static CoverageNormalizedUnits.Builder builder()
-
serializableBuilderClass
public static Class<? extends CoverageNormalizedUnits.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.
-
-