@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CoverageNormalizedUnits extends Object implements Serializable, Cloneable, StructuredPojo
The amount of instance usage, in normalized units. Normalized units enable you to see your EC2 usage for multiple sizes of instances in a uniform way. For example, suppose 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. Using 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.
Constructor and Description |
---|
CoverageNormalizedUnits() |
Modifier and Type | Method and Description |
---|---|
CoverageNormalizedUnits |
clone() |
boolean |
equals(Object obj) |
String |
getCoverageNormalizedUnitsPercentage()
The percentage of your used instance normalized units that a reservation covers.
|
String |
getOnDemandNormalizedUnits()
The number of normalized units that are covered by On-Demand Instances instead of a reservation.
|
String |
getReservedNormalizedUnits()
The number of normalized units that a reservation covers.
|
String |
getTotalRunningNormalizedUnits()
The total number of normalized units that you used.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCoverageNormalizedUnitsPercentage(String coverageNormalizedUnitsPercentage)
The percentage of your used instance normalized units that a reservation covers.
|
void |
setOnDemandNormalizedUnits(String onDemandNormalizedUnits)
The number of normalized units that are covered by On-Demand Instances instead of a reservation.
|
void |
setReservedNormalizedUnits(String reservedNormalizedUnits)
The number of normalized units that a reservation covers.
|
void |
setTotalRunningNormalizedUnits(String totalRunningNormalizedUnits)
The total number of normalized units that you used.
|
String |
toString()
Returns a string representation of this object.
|
CoverageNormalizedUnits |
withCoverageNormalizedUnitsPercentage(String coverageNormalizedUnitsPercentage)
The percentage of your used instance normalized units that a reservation covers.
|
CoverageNormalizedUnits |
withOnDemandNormalizedUnits(String onDemandNormalizedUnits)
The number of normalized units that are covered by On-Demand Instances instead of a reservation.
|
CoverageNormalizedUnits |
withReservedNormalizedUnits(String reservedNormalizedUnits)
The number of normalized units that a reservation covers.
|
CoverageNormalizedUnits |
withTotalRunningNormalizedUnits(String totalRunningNormalizedUnits)
The total number of normalized units that you used.
|
public void setOnDemandNormalizedUnits(String onDemandNormalizedUnits)
The number of normalized units that are covered by On-Demand Instances instead of a reservation.
onDemandNormalizedUnits
- The number of normalized units that are covered by On-Demand Instances instead of a reservation.public String getOnDemandNormalizedUnits()
The number of normalized units that are covered by On-Demand Instances instead of a reservation.
public CoverageNormalizedUnits withOnDemandNormalizedUnits(String onDemandNormalizedUnits)
The number of normalized units that are covered by On-Demand Instances instead of a reservation.
onDemandNormalizedUnits
- The number of normalized units that are covered by On-Demand Instances instead of a reservation.public void setReservedNormalizedUnits(String reservedNormalizedUnits)
The number of normalized units that a reservation covers.
reservedNormalizedUnits
- The number of normalized units that a reservation covers.public String getReservedNormalizedUnits()
The number of normalized units that a reservation covers.
public CoverageNormalizedUnits withReservedNormalizedUnits(String reservedNormalizedUnits)
The number of normalized units that a reservation covers.
reservedNormalizedUnits
- The number of normalized units that a reservation covers.public void setTotalRunningNormalizedUnits(String totalRunningNormalizedUnits)
The total number of normalized units that you used.
totalRunningNormalizedUnits
- The total number of normalized units that you used.public String getTotalRunningNormalizedUnits()
The total number of normalized units that you used.
public CoverageNormalizedUnits withTotalRunningNormalizedUnits(String totalRunningNormalizedUnits)
The total number of normalized units that you used.
totalRunningNormalizedUnits
- The total number of normalized units that you used.public void setCoverageNormalizedUnitsPercentage(String coverageNormalizedUnitsPercentage)
The percentage of your used instance normalized units that a reservation covers.
coverageNormalizedUnitsPercentage
- The percentage of your used instance normalized units that a reservation covers.public String getCoverageNormalizedUnitsPercentage()
The percentage of your used instance normalized units that a reservation covers.
public CoverageNormalizedUnits withCoverageNormalizedUnitsPercentage(String coverageNormalizedUnitsPercentage)
The percentage of your used instance normalized units that a reservation covers.
coverageNormalizedUnitsPercentage
- The percentage of your used instance normalized units that a reservation covers.public String toString()
toString
in class Object
Object.toString()
public CoverageNormalizedUnits clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.