Interface TimeSeriesForecastingSettings.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<TimeSeriesForecastingSettings.Builder,TimeSeriesForecastingSettings>
,SdkBuilder<TimeSeriesForecastingSettings.Builder,TimeSeriesForecastingSettings>
,SdkPojo
- Enclosing class:
- TimeSeriesForecastingSettings
public static interface TimeSeriesForecastingSettings.Builder extends SdkPojo, CopyableBuilder<TimeSeriesForecastingSettings.Builder,TimeSeriesForecastingSettings>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TimeSeriesForecastingSettings.Builder
amazonForecastRoleArn(String amazonForecastRoleArn)
The IAM role that Canvas passes to Amazon Forecast for time series forecasting.TimeSeriesForecastingSettings.Builder
status(String status)
Describes whether time series forecasting is enabled or disabled in the Canvas application.TimeSeriesForecastingSettings.Builder
status(FeatureStatus status)
Describes whether time series forecasting is enabled or disabled in the Canvas application.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
status
TimeSeriesForecastingSettings.Builder status(String status)
Describes whether time series forecasting is enabled or disabled in the Canvas application.
- Parameters:
status
- Describes whether time series forecasting is enabled or disabled in the Canvas application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FeatureStatus
,FeatureStatus
-
status
TimeSeriesForecastingSettings.Builder status(FeatureStatus status)
Describes whether time series forecasting is enabled or disabled in the Canvas application.
- Parameters:
status
- Describes whether time series forecasting is enabled or disabled in the Canvas application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FeatureStatus
,FeatureStatus
-
amazonForecastRoleArn
TimeSeriesForecastingSettings.Builder amazonForecastRoleArn(String amazonForecastRoleArn)
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 application. If an execution role is not specified in theUserProfile
, Canvas uses the execution role specified in the Domain that owns theUserProfile
. To allow time series forecasting, this IAM role should have the AmazonSageMakerCanvasForecastAccess policy attached andforecast.amazonaws.com
added in the trust relationship as a service principal.- Parameters:
amazonForecastRoleArn
- The IAM role that Canvas passes to Amazon Forecast for time series forecasting. By default, Canvas uses the execution role specified in theUserProfile
that launches the Canvas application. If an execution role is not specified in theUserProfile
, Canvas uses the execution role specified in the Domain that owns theUserProfile
. To allow time series forecasting, this IAM role should have the AmazonSageMakerCanvasForecastAccess policy attached andforecast.amazonaws.com
added in the trust relationship as a service principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-