@Generated(value="software.amazon.awssdk:codegen") public final class CoverageByTime extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CoverageByTime.Builder,CoverageByTime>
Reservation coverage for a specified period, in hours.
Modifier and Type | Class and Description |
---|---|
static interface |
CoverageByTime.Builder |
Modifier and Type | Method and Description |
---|---|
static CoverageByTime.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
List<ReservationCoverageGroup> |
groups()
The groups of instances that are covered by a reservation.
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CoverageByTime.Builder> |
serializableBuilderClass() |
DateInterval |
timePeriod()
The period over which this coverage was used.
|
CoverageByTime.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Coverage |
total()
The total reservation coverage, in hours.
|
copy
public DateInterval timePeriod()
The period over which this coverage was used.
public List<ReservationCoverageGroup> groups()
The groups of instances that are covered by a reservation.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Coverage total()
The total reservation coverage, in hours.
public CoverageByTime.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CoverageByTime.Builder,CoverageByTime>
public static CoverageByTime.Builder builder()
public static Class<? extends CoverageByTime.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.