@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CoverageHours extends Object implements Serializable, Cloneable, StructuredPojo
How long a running instance either used a reservation or was On-Demand.
| Constructor and Description |
|---|
CoverageHours() |
| Modifier and Type | Method and Description |
|---|---|
CoverageHours |
clone() |
boolean |
equals(Object obj) |
String |
getCoverageHoursPercentage()
The percentage of instance hours covered by a reservation.
|
String |
getOnDemandHours()
The number of instance running hours covered by On-Demand Instances.
|
String |
getReservedHours()
The number of instance running hours covered by reservations.
|
String |
getTotalRunningHours()
The total instance usage, in hours.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCoverageHoursPercentage(String coverageHoursPercentage)
The percentage of instance hours covered by a reservation.
|
void |
setOnDemandHours(String onDemandHours)
The number of instance running hours covered by On-Demand Instances.
|
void |
setReservedHours(String reservedHours)
The number of instance running hours covered by reservations.
|
void |
setTotalRunningHours(String totalRunningHours)
The total instance usage, in hours.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CoverageHours |
withCoverageHoursPercentage(String coverageHoursPercentage)
The percentage of instance hours covered by a reservation.
|
CoverageHours |
withOnDemandHours(String onDemandHours)
The number of instance running hours covered by On-Demand Instances.
|
CoverageHours |
withReservedHours(String reservedHours)
The number of instance running hours covered by reservations.
|
CoverageHours |
withTotalRunningHours(String totalRunningHours)
The total instance usage, in hours.
|
public void setOnDemandHours(String onDemandHours)
The number of instance running hours covered by On-Demand Instances.
onDemandHours - The number of instance running hours covered by On-Demand Instances.public String getOnDemandHours()
The number of instance running hours covered by On-Demand Instances.
public CoverageHours withOnDemandHours(String onDemandHours)
The number of instance running hours covered by On-Demand Instances.
onDemandHours - The number of instance running hours covered by On-Demand Instances.public void setReservedHours(String reservedHours)
The number of instance running hours covered by reservations.
reservedHours - The number of instance running hours covered by reservations.public String getReservedHours()
The number of instance running hours covered by reservations.
public CoverageHours withReservedHours(String reservedHours)
The number of instance running hours covered by reservations.
reservedHours - The number of instance running hours covered by reservations.public void setTotalRunningHours(String totalRunningHours)
The total instance usage, in hours.
totalRunningHours - The total instance usage, in hours.public String getTotalRunningHours()
The total instance usage, in hours.
public CoverageHours withTotalRunningHours(String totalRunningHours)
The total instance usage, in hours.
totalRunningHours - The total instance usage, in hours.public void setCoverageHoursPercentage(String coverageHoursPercentage)
The percentage of instance hours covered by a reservation.
coverageHoursPercentage - The percentage of instance hours covered by a reservation.public String getCoverageHoursPercentage()
The percentage of instance hours covered by a reservation.
public CoverageHours withCoverageHoursPercentage(String coverageHoursPercentage)
The percentage of instance hours covered by a reservation.
coverageHoursPercentage - The percentage of instance hours covered by a reservation.public String toString()
toString in class ObjectObject.toString()public CoverageHours clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.