Struct aws_sdk_quicksight::types::ForecastComputation
source · #[non_exhaustive]pub struct ForecastComputation {
pub computation_id: String,
pub name: Option<String>,
pub time: Option<DimensionField>,
pub value: Option<MeasureField>,
pub periods_forward: Option<i32>,
pub periods_backward: Option<i32>,
pub upper_boundary: Option<f64>,
pub lower_boundary: Option<f64>,
pub prediction_interval: Option<i32>,
pub seasonality: Option<ForecastComputationSeasonality>,
pub custom_seasonality_value: Option<i32>,
}
Expand description
The forecast computation configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.computation_id: String
The ID for a computation.
name: Option<String>
The name of a computation.
time: Option<DimensionField>
The time field that is used in a computation.
value: Option<MeasureField>
The value field that is used in a computation.
periods_forward: Option<i32>
The periods forward setup of a forecast computation.
periods_backward: Option<i32>
The periods backward setup of a forecast computation.
upper_boundary: Option<f64>
The upper boundary setup of a forecast computation.
lower_boundary: Option<f64>
The lower boundary setup of a forecast computation.
prediction_interval: Option<i32>
The prediction interval setup of a forecast computation.
seasonality: Option<ForecastComputationSeasonality>
The seasonality setup of a forecast computation. Choose one of the following options:
-
AUTOMATIC
-
CUSTOM
: Checks the custom seasonality value.
custom_seasonality_value: Option<i32>
The custom seasonality value setup of a forecast computation.
Implementations§
source§impl ForecastComputation
impl ForecastComputation
sourcepub fn computation_id(&self) -> &str
pub fn computation_id(&self) -> &str
The ID for a computation.
sourcepub fn time(&self) -> Option<&DimensionField>
pub fn time(&self) -> Option<&DimensionField>
The time field that is used in a computation.
sourcepub fn value(&self) -> Option<&MeasureField>
pub fn value(&self) -> Option<&MeasureField>
The value field that is used in a computation.
sourcepub fn periods_forward(&self) -> Option<i32>
pub fn periods_forward(&self) -> Option<i32>
The periods forward setup of a forecast computation.
sourcepub fn periods_backward(&self) -> Option<i32>
pub fn periods_backward(&self) -> Option<i32>
The periods backward setup of a forecast computation.
sourcepub fn upper_boundary(&self) -> Option<f64>
pub fn upper_boundary(&self) -> Option<f64>
The upper boundary setup of a forecast computation.
sourcepub fn lower_boundary(&self) -> Option<f64>
pub fn lower_boundary(&self) -> Option<f64>
The lower boundary setup of a forecast computation.
sourcepub fn prediction_interval(&self) -> Option<i32>
pub fn prediction_interval(&self) -> Option<i32>
The prediction interval setup of a forecast computation.
sourcepub fn seasonality(&self) -> Option<&ForecastComputationSeasonality>
pub fn seasonality(&self) -> Option<&ForecastComputationSeasonality>
The seasonality setup of a forecast computation. Choose one of the following options:
-
AUTOMATIC
-
CUSTOM
: Checks the custom seasonality value.
sourcepub fn custom_seasonality_value(&self) -> Option<i32>
pub fn custom_seasonality_value(&self) -> Option<i32>
The custom seasonality value setup of a forecast computation.
source§impl ForecastComputation
impl ForecastComputation
sourcepub fn builder() -> ForecastComputationBuilder
pub fn builder() -> ForecastComputationBuilder
Creates a new builder-style object to manufacture ForecastComputation
.
Trait Implementations§
source§impl Clone for ForecastComputation
impl Clone for ForecastComputation
source§fn clone(&self) -> ForecastComputation
fn clone(&self) -> ForecastComputation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ForecastComputation
impl Debug for ForecastComputation
source§impl PartialEq for ForecastComputation
impl PartialEq for ForecastComputation
source§fn eq(&self, other: &ForecastComputation) -> bool
fn eq(&self, other: &ForecastComputation) -> bool
self
and other
values to be equal, and is used
by ==
.