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