@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCostForecastResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetCostForecastResult() |
Modifier and Type | Method and Description |
---|---|
GetCostForecastResult |
clone() |
boolean |
equals(Object obj) |
List<ForecastResult> |
getForecastResultsByTime()
The forecasts for your query, in order.
|
MetricValue |
getTotal()
How much you are forecasted to spend over the forecast period, in
USD . |
int |
hashCode() |
void |
setForecastResultsByTime(Collection<ForecastResult> forecastResultsByTime)
The forecasts for your query, in order.
|
void |
setTotal(MetricValue total)
How much you are forecasted to spend over the forecast period, in
USD . |
String |
toString()
Returns a string representation of this object.
|
GetCostForecastResult |
withForecastResultsByTime(Collection<ForecastResult> forecastResultsByTime)
The forecasts for your query, in order.
|
GetCostForecastResult |
withForecastResultsByTime(ForecastResult... forecastResultsByTime)
The forecasts for your query, in order.
|
GetCostForecastResult |
withTotal(MetricValue total)
How much you are forecasted to spend over the forecast period, in
USD . |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTotal(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
.public MetricValue getTotal()
How much you are forecasted to spend over the forecast period, in USD
.
USD
.public GetCostForecastResult withTotal(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
.public List<ForecastResult> getForecastResultsByTime()
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.
DAILY
forecasts, this is a list of days. For
MONTHLY
forecasts, this is a list of months.public void setForecastResultsByTime(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.public GetCostForecastResult withForecastResultsByTime(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.
NOTE: This method appends the values to the existing list (if any). Use
setForecastResultsByTime(java.util.Collection)
or
withForecastResultsByTime(java.util.Collection)
if you want to override the existing values.
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.public GetCostForecastResult withForecastResultsByTime(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.public String toString()
toString
in class Object
Object.toString()
public GetCostForecastResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.