public static interface GetUsageForecastResponse.Builder extends CostExplorerResponse.Builder, SdkPojo, CopyableBuilder<GetUsageForecastResponse.Builder,GetUsageForecastResponse>
| Modifier and Type | Method and Description |
|---|---|
GetUsageForecastResponse.Builder |
forecastResultsByTime(Collection<ForecastResult> forecastResultsByTime)
The forecasts for your query, in order.
|
GetUsageForecastResponse.Builder |
forecastResultsByTime(Consumer<ForecastResult.Builder>... forecastResultsByTime)
The forecasts for your query, in order.
|
GetUsageForecastResponse.Builder |
forecastResultsByTime(ForecastResult... forecastResultsByTime)
The forecasts for your query, in order.
|
default GetUsageForecastResponse.Builder |
total(Consumer<MetricValue.Builder> total)
How much you're forecasted to use over the forecast period.
|
GetUsageForecastResponse.Builder |
total(MetricValue total)
How much you're forecasted to use over the forecast period.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetUsageForecastResponse.Builder total(MetricValue total)
How much you're forecasted to use over the forecast period.
total - How much you're forecasted to use over the forecast period.default GetUsageForecastResponse.Builder total(Consumer<MetricValue.Builder> total)
How much you're forecasted to use over the forecast period.
This is a convenience method that creates an instance of theMetricValue.Builder avoiding the need to
create one manually via MetricValue.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to total(MetricValue).
total - a consumer that will call methods on MetricValue.Buildertotal(MetricValue)GetUsageForecastResponse.Builder forecastResultsByTime(Collection<ForecastResult> forecastResultsByTime)
The forecasts for your query, in order. For DAILY forecasts, this is a list of days. For
MONTHLY forecasts, this is a list of months.
forecastResultsByTime - The forecasts for your query, in order. For DAILY forecasts, this is a list of days. For
MONTHLY forecasts, this is a list of months.GetUsageForecastResponse.Builder forecastResultsByTime(ForecastResult... forecastResultsByTime)
The forecasts for your query, in order. For DAILY forecasts, this is a list of days. For
MONTHLY forecasts, this is a list of months.
forecastResultsByTime - The forecasts for your query, in order. For DAILY forecasts, this is a list of days. For
MONTHLY forecasts, this is a list of months.GetUsageForecastResponse.Builder forecastResultsByTime(Consumer<ForecastResult.Builder>... forecastResultsByTime)
The forecasts for your query, in order. For DAILY forecasts, this is a list of days. For
MONTHLY forecasts, this is a list of months.
ForecastResult.Builder avoiding the need to create
one manually via ForecastResult.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #forecastResultsByTime(List.
forecastResultsByTime - a consumer that will call methods on
ForecastResult.Builder#forecastResultsByTime(java.util.Collection) Copyright © 2023. All rights reserved.