@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Forecast extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a forecast. Returned as part of the QueryForecast response.
Constructor and Description |
---|
Forecast() |
Modifier and Type | Method and Description |
---|---|
Forecast |
addPredictionsEntry(String key,
List<DataPoint> value)
Add a single Predictions entry
|
Forecast |
clearPredictionsEntries()
Removes all the entries added into Predictions.
|
Forecast |
clone() |
boolean |
equals(Object obj) |
Map<String,List<DataPoint>> |
getPredictions()
The forecast.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPredictions(Map<String,List<DataPoint>> predictions)
The forecast.
|
String |
toString()
Returns a string representation of this object.
|
Forecast |
withPredictions(Map<String,List<DataPoint>> predictions)
The forecast.
|
public Map<String,List<DataPoint>> getPredictions()
The forecast.
The string of the string-to-array map is one of the following values:
p10
p50
p90
The default setting is ["0.1", "0.5", "0.9"]
. Use the optional ForecastTypes
parameter
of the CreateForecast
operation to change the values. The values will vary depending on how this is set, with a minimum of
1
and a maximum of 5.
The string of the string-to-array map is one of the following values:
p10
p50
p90
The default setting is ["0.1", "0.5", "0.9"]
. Use the optional ForecastTypes
parameter of the CreateForecast
operation to change the values. The values will vary depending on how this is set, with a minimum of
1
and a maximum of 5.
public void setPredictions(Map<String,List<DataPoint>> predictions)
The forecast.
The string of the string-to-array map is one of the following values:
p10
p50
p90
The default setting is ["0.1", "0.5", "0.9"]
. Use the optional ForecastTypes
parameter
of the CreateForecast
operation to change the values. The values will vary depending on how this is set, with a minimum of
1
and a maximum of 5.
predictions
- The forecast.
The string of the string-to-array map is one of the following values:
p10
p50
p90
The default setting is ["0.1", "0.5", "0.9"]
. Use the optional ForecastTypes
parameter of the CreateForecast operation
to change the values. The values will vary depending on how this is set, with a minimum of 1
and a maximum of 5.
public Forecast withPredictions(Map<String,List<DataPoint>> predictions)
The forecast.
The string of the string-to-array map is one of the following values:
p10
p50
p90
The default setting is ["0.1", "0.5", "0.9"]
. Use the optional ForecastTypes
parameter
of the CreateForecast
operation to change the values. The values will vary depending on how this is set, with a minimum of
1
and a maximum of 5.
predictions
- The forecast.
The string of the string-to-array map is one of the following values:
p10
p50
p90
The default setting is ["0.1", "0.5", "0.9"]
. Use the optional ForecastTypes
parameter of the CreateForecast operation
to change the values. The values will vary depending on how this is set, with a minimum of 1
and a maximum of 5.
public Forecast addPredictionsEntry(String key, List<DataPoint> value)
public Forecast clearPredictionsEntries()
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.