public static interface UtilizationByTime.Builder extends CopyableBuilder<UtilizationByTime.Builder,UtilizationByTime>
| Modifier and Type | Method and Description |
|---|---|
UtilizationByTime.Builder |
groups(Collection<ReservationUtilizationGroup> groups)
The groups that are included in this utilization result.
|
UtilizationByTime.Builder |
groups(Consumer<ReservationUtilizationGroup.Builder>... groups)
The groups that are included in this utilization result.
|
UtilizationByTime.Builder |
groups(ReservationUtilizationGroup... groups)
The groups that are included in this utilization result.
|
default UtilizationByTime.Builder |
timePeriod(Consumer<DateInterval.Builder> timePeriod)
The period of time over which this utilization was used.
|
UtilizationByTime.Builder |
timePeriod(DateInterval timePeriod)
The period of time over which this utilization was used.
|
default UtilizationByTime.Builder |
total(Consumer<ReservationAggregates.Builder> total)
The total number of RI hours that were used.
|
UtilizationByTime.Builder |
total(ReservationAggregates total)
The total number of RI hours that were used.
|
copyapply, buildUtilizationByTime.Builder timePeriod(DateInterval timePeriod)
The period of time over which this utilization was used.
timePeriod - The period of time over which this utilization was used.default UtilizationByTime.Builder timePeriod(Consumer<DateInterval.Builder> timePeriod)
The period of time over which this utilization was used.
This is a convenience that creates an instance of theDateInterval.Builder avoiding the need to
create one manually via DateInterval.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to timePeriod(DateInterval).timePeriod - a consumer that will call methods on DateInterval.BuildertimePeriod(DateInterval)UtilizationByTime.Builder groups(Collection<ReservationUtilizationGroup> groups)
The groups that are included in this utilization result.
groups - The groups that are included in this utilization result.UtilizationByTime.Builder groups(ReservationUtilizationGroup... groups)
The groups that are included in this utilization result.
groups - The groups that are included in this utilization result.UtilizationByTime.Builder groups(Consumer<ReservationUtilizationGroup.Builder>... groups)
The groups that are included in this utilization result.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #groups(List) .groups - a consumer that will call methods on List.Builder #groups(List) UtilizationByTime.Builder total(ReservationAggregates total)
The total number of RI hours that were used.
total - The total number of RI hours that were used.default UtilizationByTime.Builder total(Consumer<ReservationAggregates.Builder> total)
The total number of RI hours that were used.
This is a convenience that creates an instance of theReservationAggregates.Builder avoiding the need
to create one manually via ReservationAggregates.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to total(ReservationAggregates).total - a consumer that will call methods on ReservationAggregates.Buildertotal(ReservationAggregates)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.