public static interface ResultByTime.Builder extends CopyableBuilder<ResultByTime.Builder,ResultByTime>
| Modifier and Type | Method and Description |
|---|---|
ResultByTime.Builder |
estimated(Boolean estimated)
Whether or not this result is estimated.
|
ResultByTime.Builder |
groups(Collection<Group> groups)
The groups that are included in this time period.
|
ResultByTime.Builder |
groups(Consumer<Group.Builder>... groups)
The groups that are included in this time period.
|
ResultByTime.Builder |
groups(Group... groups)
The groups that are included in this time period.
|
default ResultByTime.Builder |
timePeriod(Consumer<DateInterval.Builder> timePeriod)
The time period covered by a result.
|
ResultByTime.Builder |
timePeriod(DateInterval timePeriod)
The time period covered by a result.
|
ResultByTime.Builder |
total(Map<String,MetricValue> total)
The total amount of cost or usage accrued during the time period.
|
copyapply, buildResultByTime.Builder timePeriod(DateInterval timePeriod)
The time period covered by a result.
timePeriod - The time period covered by a result.default ResultByTime.Builder timePeriod(Consumer<DateInterval.Builder> timePeriod)
The time period covered by a result.
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)ResultByTime.Builder total(Map<String,MetricValue> total)
The total amount of cost or usage accrued during the time period.
total - The total amount of cost or usage accrued during the time period.ResultByTime.Builder groups(Collection<Group> groups)
The groups that are included in this time period.
groups - The groups that are included in this time period.ResultByTime.Builder groups(Group... groups)
The groups that are included in this time period.
groups - The groups that are included in this time period.ResultByTime.Builder groups(Consumer<Group.Builder>... groups)
The groups that are included in this time period.
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) ResultByTime.Builder estimated(Boolean estimated)
Whether or not this result is estimated.
estimated - Whether or not this result is estimated.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.