@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPredictiveScalingForecastResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetPredictiveScalingForecastResult() |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<LoadForecast> getLoadForecast()
The load forecast.
public void setLoadForecast(Collection<LoadForecast> loadForecast)
The load forecast.
loadForecast
- The load forecast.public GetPredictiveScalingForecastResult withLoadForecast(LoadForecast... loadForecast)
The load forecast.
NOTE: This method appends the values to the existing list (if any). Use
setLoadForecast(java.util.Collection)
or withLoadForecast(java.util.Collection)
if you want to
override the existing values.
loadForecast
- The load forecast.public GetPredictiveScalingForecastResult withLoadForecast(Collection<LoadForecast> loadForecast)
The load forecast.
loadForecast
- The load forecast.public void setCapacityForecast(CapacityForecast capacityForecast)
The capacity forecast.
capacityForecast
- The capacity forecast.public CapacityForecast getCapacityForecast()
The capacity forecast.
public GetPredictiveScalingForecastResult withCapacityForecast(CapacityForecast capacityForecast)
The capacity forecast.
capacityForecast
- The capacity forecast.public void setUpdateTime(Date updateTime)
The time the forecast was made.
updateTime
- The time the forecast was made.public Date getUpdateTime()
The time the forecast was made.
public GetPredictiveScalingForecastResult withUpdateTime(Date updateTime)
The time the forecast was made.
updateTime
- The time the forecast was made.public String toString()
toString
in class Object
Object.toString()
public GetPredictiveScalingForecastResult clone()