@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 that a reservation covered.
|
String |
getOnDemandHours()
The number of instance running hours that On-Demand Instances covered.
|
String |
getReservedHours()
The number of instance running hours that reservations covered.
|
String |
getTotalRunningHours()
The total instance usage, in hours.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCoverageHoursPercentage(String coverageHoursPercentage)
The percentage of instance hours that a reservation covered.
|
void |
setOnDemandHours(String onDemandHours)
The number of instance running hours that On-Demand Instances covered.
|
void |
setReservedHours(String reservedHours)
The number of instance running hours that reservations covered.
|
void |
setTotalRunningHours(String totalRunningHours)
The total instance usage, in hours.
|
String |
toString()
Returns a string representation of this object.
|
CoverageHours |
withCoverageHoursPercentage(String coverageHoursPercentage)
The percentage of instance hours that a reservation covered.
|
CoverageHours |
withOnDemandHours(String onDemandHours)
The number of instance running hours that On-Demand Instances covered.
|
CoverageHours |
withReservedHours(String reservedHours)
The number of instance running hours that reservations covered.
|
CoverageHours |
withTotalRunningHours(String totalRunningHours)
The total instance usage, in hours.
|
public void setOnDemandHours(String onDemandHours)
The number of instance running hours that On-Demand Instances covered.
onDemandHours
- The number of instance running hours that On-Demand Instances covered.public String getOnDemandHours()
The number of instance running hours that On-Demand Instances covered.
public CoverageHours withOnDemandHours(String onDemandHours)
The number of instance running hours that On-Demand Instances covered.
onDemandHours
- The number of instance running hours that On-Demand Instances covered.public void setReservedHours(String reservedHours)
The number of instance running hours that reservations covered.
reservedHours
- The number of instance running hours that reservations covered.public String getReservedHours()
The number of instance running hours that reservations covered.
public CoverageHours withReservedHours(String reservedHours)
The number of instance running hours that reservations covered.
reservedHours
- The number of instance running hours that reservations covered.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 that a reservation covered.
coverageHoursPercentage
- The percentage of instance hours that a reservation covered.public String getCoverageHoursPercentage()
The percentage of instance hours that a reservation covered.
public CoverageHours withCoverageHoursPercentage(String coverageHoursPercentage)
The percentage of instance hours that a reservation covered.
coverageHoursPercentage
- The percentage of instance hours that a reservation covered.public String toString()
toString
in class Object
Object.toString()
public CoverageHours clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.