public static interface GetCostForecastResponse.Builder extends CostExplorerResponse.Builder, SdkPojo, CopyableBuilder<GetCostForecastResponse.Builder,GetCostForecastResponse>
Modifier and Type | Method and Description |
---|---|
GetCostForecastResponse.Builder |
forecastResultsByTime(Collection<ForecastResult> forecastResultsByTime)
The forecasts for your query, in order.
|
GetCostForecastResponse.Builder |
forecastResultsByTime(Consumer<ForecastResult.Builder>... forecastResultsByTime)
The forecasts for your query, in order.
|
GetCostForecastResponse.Builder |
forecastResultsByTime(ForecastResult... forecastResultsByTime)
The forecasts for your query, in order.
|
default GetCostForecastResponse.Builder |
total(Consumer<MetricValue.Builder> total)
How much you are forecasted to spend over the forecast period, in
USD . |
GetCostForecastResponse.Builder |
total(MetricValue total)
How much you are forecasted to spend over the forecast period, in
USD . |
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetCostForecastResponse.Builder total(MetricValue total)
How much you are forecasted to spend over the forecast period, in USD
.
total
- How much you are forecasted to spend over the forecast period, in USD
.default GetCostForecastResponse.Builder total(Consumer<MetricValue.Builder> total)
How much you are forecasted to spend over the forecast period, in USD
.
MetricValue.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.Builder
total(MetricValue)
GetCostForecastResponse.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.GetCostForecastResponse.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.GetCostForecastResponse.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.
List.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 #forecastResultsByTime(List)
.forecastResultsByTime
- a consumer that will call methods on List.Builder
#forecastResultsByTime(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.