@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Coverage extends Object implements Serializable, Cloneable, StructuredPojo
The amount of instance usage that a reservation covered.
| Constructor and Description |
|---|
Coverage() |
| Modifier and Type | Method and Description |
|---|---|
Coverage |
clone() |
boolean |
equals(Object obj) |
CoverageCost |
getCoverageCost()
The amount of cost that the reservation covered.
|
CoverageHours |
getCoverageHours()
The amount of instance usage that the reservation covered, in hours.
|
CoverageNormalizedUnits |
getCoverageNormalizedUnits()
The amount of instance usage that the reservation covered, in normalized units.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCoverageCost(CoverageCost coverageCost)
The amount of cost that the reservation covered.
|
void |
setCoverageHours(CoverageHours coverageHours)
The amount of instance usage that the reservation covered, in hours.
|
void |
setCoverageNormalizedUnits(CoverageNormalizedUnits coverageNormalizedUnits)
The amount of instance usage that the reservation covered, in normalized units.
|
String |
toString()
Returns a string representation of this object.
|
Coverage |
withCoverageCost(CoverageCost coverageCost)
The amount of cost that the reservation covered.
|
Coverage |
withCoverageHours(CoverageHours coverageHours)
The amount of instance usage that the reservation covered, in hours.
|
Coverage |
withCoverageNormalizedUnits(CoverageNormalizedUnits coverageNormalizedUnits)
The amount of instance usage that the reservation covered, in normalized units.
|
public void setCoverageHours(CoverageHours coverageHours)
The amount of instance usage that the reservation covered, in hours.
coverageHours - The amount of instance usage that the reservation covered, in hours.public CoverageHours getCoverageHours()
The amount of instance usage that the reservation covered, in hours.
public Coverage withCoverageHours(CoverageHours coverageHours)
The amount of instance usage that the reservation covered, in hours.
coverageHours - The amount of instance usage that the reservation covered, in hours.public void setCoverageNormalizedUnits(CoverageNormalizedUnits coverageNormalizedUnits)
The amount of instance usage that the reservation covered, in normalized units.
coverageNormalizedUnits - The amount of instance usage that the reservation covered, in normalized units.public CoverageNormalizedUnits getCoverageNormalizedUnits()
The amount of instance usage that the reservation covered, in normalized units.
public Coverage withCoverageNormalizedUnits(CoverageNormalizedUnits coverageNormalizedUnits)
The amount of instance usage that the reservation covered, in normalized units.
coverageNormalizedUnits - The amount of instance usage that the reservation covered, in normalized units.public void setCoverageCost(CoverageCost coverageCost)
The amount of cost that the reservation covered.
coverageCost - The amount of cost that the reservation covered.public CoverageCost getCoverageCost()
The amount of cost that the reservation covered.
public Coverage withCoverageCost(CoverageCost coverageCost)
The amount of cost that the reservation covered.
coverageCost - The amount of cost that the reservation covered.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.