@Generated(value="software.amazon.awssdk:codegen") public class UtilizationByTime extends Object implements StructuredPojo, ToCopyableBuilder<UtilizationByTime.Builder,UtilizationByTime>
The amount of utilization, in hours.
Modifier and Type | Class and Description |
---|---|
static interface |
UtilizationByTime.Builder |
Modifier and Type | Method and Description |
---|---|
static UtilizationByTime.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
List<ReservationUtilizationGroup> |
groups()
The groups that are included in this utilization result.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends UtilizationByTime.Builder> |
serializableBuilderClass() |
DateInterval |
timePeriod()
The period of time over which this utilization was used.
|
UtilizationByTime.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
ReservationAggregates |
total()
The total number of RI hours that were used.
|
copy
public DateInterval timePeriod()
The period of time over which this utilization was used.
public List<ReservationUtilizationGroup> groups()
The groups that are included in this utilization result.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ReservationAggregates total()
The total number of RI hours that were used.
public UtilizationByTime.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UtilizationByTime.Builder,UtilizationByTime>
public static UtilizationByTime.Builder builder()
public static Class<? extends UtilizationByTime.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.