@Generated(value="software.amazon.awssdk:codegen") public final class UtilizationByTime extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
List<ReservationUtilizationGroup> |
groups()
The groups that this utilization result uses.
|
boolean |
hasGroups()
Returns true if the Groups property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends UtilizationByTime.Builder> |
serializableBuilderClass() |
DateInterval |
timePeriod()
The period of time that this utilization was used for.
|
UtilizationByTime.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ReservationAggregates |
total()
The total number of reservation hours that were used.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final DateInterval timePeriod()
The period of time that this utilization was used for.
public final boolean hasGroups()
public final List<ReservationUtilizationGroup> groups()
The groups that this utilization result uses.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasGroups() to see if a value was sent in this field.
public final ReservationAggregates total()
The total number of reservation hours that were used.
public UtilizationByTime.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UtilizationByTime.Builder,UtilizationByTime>public static UtilizationByTime.Builder builder()
public static Class<? extends UtilizationByTime.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.