@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UtilizationByTime extends Object implements Serializable, Cloneable, StructuredPojo
The amount of utilization, in hours.
Constructor and Description |
---|
UtilizationByTime() |
Modifier and Type | Method and Description |
---|---|
UtilizationByTime |
clone() |
boolean |
equals(Object obj) |
List<ReservationUtilizationGroup> |
getGroups()
The groups that are included in this utilization result.
|
DateInterval |
getTimePeriod()
The period of time over which this utilization was used.
|
ReservationAggregates |
getTotal()
The total number of RI hours that were used.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGroups(Collection<ReservationUtilizationGroup> groups)
The groups that are included in this utilization result.
|
void |
setTimePeriod(DateInterval timePeriod)
The period of time over which this utilization was used.
|
void |
setTotal(ReservationAggregates total)
The total number of RI hours that were used.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UtilizationByTime |
withGroups(Collection<ReservationUtilizationGroup> groups)
The groups that are included in this utilization result.
|
UtilizationByTime |
withGroups(ReservationUtilizationGroup... groups)
The groups that are included in this utilization result.
|
UtilizationByTime |
withTimePeriod(DateInterval timePeriod)
The period of time over which this utilization was used.
|
UtilizationByTime |
withTotal(ReservationAggregates total)
The total number of RI hours that were used.
|
public void setTimePeriod(DateInterval timePeriod)
The period of time over which this utilization was used.
timePeriod
- The period of time over which this utilization was used.public DateInterval getTimePeriod()
The period of time over which this utilization was used.
public UtilizationByTime withTimePeriod(DateInterval timePeriod)
The period of time over which this utilization was used.
timePeriod
- The period of time over which this utilization was used.public List<ReservationUtilizationGroup> getGroups()
The groups that are included in this utilization result.
public void setGroups(Collection<ReservationUtilizationGroup> groups)
The groups that are included in this utilization result.
groups
- The groups that are included in this utilization result.public UtilizationByTime withGroups(ReservationUtilizationGroup... groups)
The groups that are included in this utilization result.
NOTE: This method appends the values to the existing list (if any). Use
setGroups(java.util.Collection)
or withGroups(java.util.Collection)
if you want to override the
existing values.
groups
- The groups that are included in this utilization result.public UtilizationByTime withGroups(Collection<ReservationUtilizationGroup> groups)
The groups that are included in this utilization result.
groups
- The groups that are included in this utilization result.public void setTotal(ReservationAggregates total)
The total number of RI hours that were used.
total
- The total number of RI hours that were used.public ReservationAggregates getTotal()
The total number of RI hours that were used.
public UtilizationByTime withTotal(ReservationAggregates total)
The total number of RI hours that were used.
total
- The total number of RI hours that were used.public String toString()
toString
in class Object
Object.toString()
public UtilizationByTime 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.