@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 are covered by a reservation.
|
String |
getOnDemandHours()
The number of instance running hours that are covered by On-Demand Instances.
|
String |
getReservedHours()
The number of instance running hours that are covered by reservations.
|
String |
getTotalRunningHours()
The total instance usage, in hours.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCoverageHoursPercentage(String coverageHoursPercentage)
The percentage of instance hours that are covered by a reservation.
|
void |
setOnDemandHours(String onDemandHours)
The number of instance running hours that are covered by On-Demand Instances.
|
void |
setReservedHours(String reservedHours)
The number of instance running hours that are 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 that are covered by a reservation.
|
CoverageHours |
withOnDemandHours(String onDemandHours)
The number of instance running hours that are covered by On-Demand Instances.
|
CoverageHours |
withReservedHours(String reservedHours)
The number of instance running hours that are covered by reservations.
|
CoverageHours |
withTotalRunningHours(String totalRunningHours)
The total instance usage, in hours.
|
public void setOnDemandHours(String onDemandHours)
The number of instance running hours that are covered by On-Demand Instances.
onDemandHours
- The number of instance running hours that are covered by On-Demand Instances.public String getOnDemandHours()
The number of instance running hours that are covered by On-Demand Instances.
public CoverageHours withOnDemandHours(String onDemandHours)
The number of instance running hours that are covered by On-Demand Instances.
onDemandHours
- The number of instance running hours that are covered by On-Demand Instances.public void setReservedHours(String reservedHours)
The number of instance running hours that are covered by reservations.
reservedHours
- The number of instance running hours that are covered by reservations.public String getReservedHours()
The number of instance running hours that are covered by reservations.
public CoverageHours withReservedHours(String reservedHours)
The number of instance running hours that are covered by reservations.
reservedHours
- The number of instance running hours that are 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 that are covered by a reservation.
coverageHoursPercentage
- The percentage of instance hours that are covered by a reservation.public String getCoverageHoursPercentage()
The percentage of instance hours that are covered by a reservation.
public CoverageHours withCoverageHoursPercentage(String coverageHoursPercentage)
The percentage of instance hours that are covered by a reservation.
coverageHoursPercentage
- The percentage of instance hours that are covered by a reservation.public String toString()
toString
in class Object
Object.toString()
public CoverageHours 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.