public static interface ResultByTime.Builder extends SdkPojo, CopyableBuilder<ResultByTime.Builder,ResultByTime>
| Modifier and Type | Method and Description |
|---|---|
ResultByTime.Builder |
estimated(Boolean estimated)
Determines 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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, 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 method 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 method that creates an instance of theGroup.Builder avoiding the need to create one
manually via Group.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #groups(List.
groups - a consumer that will call methods on
Group.Builder#groups(java.util.Collection) ResultByTime.Builder estimated(Boolean estimated)
Determines whether the result is estimated.
estimated - Determines whether the result is estimated.Copyright © 2023. All rights reserved.