public static interface UtilizationByTime.Builder extends SdkPojo, CopyableBuilder<UtilizationByTime.Builder,UtilizationByTime>
| Modifier and Type | Method and Description |
|---|---|
UtilizationByTime.Builder |
groups(Collection<ReservationUtilizationGroup> groups)
The groups that this utilization result uses.
|
UtilizationByTime.Builder |
groups(Consumer<ReservationUtilizationGroup.Builder>... groups)
The groups that this utilization result uses.
|
UtilizationByTime.Builder |
groups(ReservationUtilizationGroup... groups)
The groups that this utilization result uses.
|
default UtilizationByTime.Builder |
timePeriod(Consumer<DateInterval.Builder> timePeriod)
The period of time that this utilization was used for.
|
UtilizationByTime.Builder |
timePeriod(DateInterval timePeriod)
The period of time that this utilization was used for.
|
default UtilizationByTime.Builder |
total(Consumer<ReservationAggregates.Builder> total)
The total number of reservation hours that were used.
|
UtilizationByTime.Builder |
total(ReservationAggregates total)
The total number of reservation hours that were used.
|
copyapplyMutation, buildUtilizationByTime.Builder timePeriod(DateInterval timePeriod)
The period of time that this utilization was used for.
timePeriod - The period of time that this utilization was used for.default UtilizationByTime.Builder timePeriod(Consumer<DateInterval.Builder> timePeriod)
The period of time that this utilization was used for.
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 this utilization result uses.
groups - The groups that this utilization result uses.UtilizationByTime.Builder groups(ReservationUtilizationGroup... groups)
The groups that this utilization result uses.
groups - The groups that this utilization result uses.UtilizationByTime.Builder groups(Consumer<ReservationUtilizationGroup.Builder>... groups)
The groups that this utilization result uses.
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 reservation hours that were used.
total - The total number of reservation hours that were used.default UtilizationByTime.Builder total(Consumer<ReservationAggregates.Builder> total)
The total number of reservation 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.