public static interface CoverageByTime.Builder extends SdkPojo, CopyableBuilder<CoverageByTime.Builder,CoverageByTime>
| Modifier and Type | Method and Description |
|---|---|
CoverageByTime.Builder |
groups(Collection<ReservationCoverageGroup> groups)
The groups of instances that the reservation covered.
|
CoverageByTime.Builder |
groups(Consumer<ReservationCoverageGroup.Builder>... groups)
The groups of instances that the reservation covered.
|
CoverageByTime.Builder |
groups(ReservationCoverageGroup... groups)
The groups of instances that the reservation covered.
|
default CoverageByTime.Builder |
timePeriod(Consumer<DateInterval.Builder> timePeriod)
The period that this coverage was used over.
|
CoverageByTime.Builder |
timePeriod(DateInterval timePeriod)
The period that this coverage was used over.
|
default CoverageByTime.Builder |
total(Consumer<Coverage.Builder> total)
The total reservation coverage, in hours.
|
CoverageByTime.Builder |
total(Coverage total)
The total reservation coverage, in hours.
|
copyapplyMutation, buildCoverageByTime.Builder timePeriod(DateInterval timePeriod)
The period that this coverage was used over.
timePeriod - The period that this coverage was used over.default CoverageByTime.Builder timePeriod(Consumer<DateInterval.Builder> timePeriod)
The period that this coverage was used over.
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)CoverageByTime.Builder groups(Collection<ReservationCoverageGroup> groups)
The groups of instances that the reservation covered.
groups - The groups of instances that the reservation covered.CoverageByTime.Builder groups(ReservationCoverageGroup... groups)
The groups of instances that the reservation covered.
groups - The groups of instances that the reservation covered.CoverageByTime.Builder groups(Consumer<ReservationCoverageGroup.Builder>... groups)
The groups of instances that the reservation covered.
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) CoverageByTime.Builder total(Coverage total)
The total reservation coverage, in hours.
total - The total reservation coverage, in hours.default CoverageByTime.Builder total(Consumer<Coverage.Builder> total)
The total reservation coverage, in hours.
This is a convenience that creates an instance of theCoverage.Builder avoiding the need to create
one manually via Coverage.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to total(Coverage).total - a consumer that will call methods on Coverage.Buildertotal(Coverage)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.