pub struct Builder { /* private fields */ }
Expand description
A builder for TimeSeriesForecastingSettings
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn status(self, input: FeatureStatus) -> Self
pub fn status(self, input: FeatureStatus) -> Self
Describes whether time series forecasting is enabled or disabled in the Canvas app.
sourcepub fn set_status(self, input: Option<FeatureStatus>) -> Self
pub fn set_status(self, input: Option<FeatureStatus>) -> Self
Describes whether time series forecasting is enabled or disabled in the Canvas app.
sourcepub fn amazon_forecast_role_arn(self, input: impl Into<String>) -> Self
pub fn amazon_forecast_role_arn(self, input: impl Into<String>) -> Self
The IAM role that Canvas passes to Amazon Forecast for time series forecasting. By default, Canvas uses the execution role specified in the UserProfile
that launches the Canvas app. If an execution role is not specified in the UserProfile
, Canvas uses the execution role specified in the Domain that owns the UserProfile
. To allow time series forecasting, this IAM role should have the AmazonSageMakerCanvasForecastAccess policy attached and forecast.amazonaws.com
added in the trust relationship as a service principal.
sourcepub fn set_amazon_forecast_role_arn(self, input: Option<String>) -> Self
pub fn set_amazon_forecast_role_arn(self, input: Option<String>) -> Self
The IAM role that Canvas passes to Amazon Forecast for time series forecasting. By default, Canvas uses the execution role specified in the UserProfile
that launches the Canvas app. If an execution role is not specified in the UserProfile
, Canvas uses the execution role specified in the Domain that owns the UserProfile
. To allow time series forecasting, this IAM role should have the AmazonSageMakerCanvasForecastAccess policy attached and forecast.amazonaws.com
added in the trust relationship as a service principal.
sourcepub fn build(self) -> TimeSeriesForecastingSettings
pub fn build(self) -> TimeSeriesForecastingSettings
Consumes the builder and constructs a TimeSeriesForecastingSettings
.