Interface CreateWhatIfAnalysisRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateWhatIfAnalysisRequest.Builder,CreateWhatIfAnalysisRequest>,ForecastRequest.Builder,SdkBuilder<CreateWhatIfAnalysisRequest.Builder,CreateWhatIfAnalysisRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateWhatIfAnalysisRequest
public static interface CreateWhatIfAnalysisRequest.Builder extends ForecastRequest.Builder, SdkPojo, CopyableBuilder<CreateWhatIfAnalysisRequest.Builder,CreateWhatIfAnalysisRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateWhatIfAnalysisRequest.BuilderforecastArn(String forecastArn)The Amazon Resource Name (ARN) of the baseline forecast.CreateWhatIfAnalysisRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateWhatIfAnalysisRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateWhatIfAnalysisRequest.Buildertags(Collection<Tag> tags)A list of tags to apply to the what if forecast.CreateWhatIfAnalysisRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of tags to apply to the what if forecast.CreateWhatIfAnalysisRequest.Buildertags(Tag... tags)A list of tags to apply to the what if forecast.default CreateWhatIfAnalysisRequest.BuildertimeSeriesSelector(Consumer<TimeSeriesSelector.Builder> timeSeriesSelector)Defines the set of time series that are used in the what-if analysis with aTimeSeriesIdentifiersobject.CreateWhatIfAnalysisRequest.BuildertimeSeriesSelector(TimeSeriesSelector timeSeriesSelector)Defines the set of time series that are used in the what-if analysis with aTimeSeriesIdentifiersobject.CreateWhatIfAnalysisRequest.BuilderwhatIfAnalysisName(String whatIfAnalysisName)The name of the what-if analysis.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.forecast.model.ForecastRequest.Builder
build
-
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
-
whatIfAnalysisName
CreateWhatIfAnalysisRequest.Builder whatIfAnalysisName(String whatIfAnalysisName)
The name of the what-if analysis. Each name must be unique.
- Parameters:
whatIfAnalysisName- The name of the what-if analysis. Each name must be unique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forecastArn
CreateWhatIfAnalysisRequest.Builder forecastArn(String forecastArn)
The Amazon Resource Name (ARN) of the baseline forecast.
- Parameters:
forecastArn- The Amazon Resource Name (ARN) of the baseline forecast.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeSeriesSelector
CreateWhatIfAnalysisRequest.Builder timeSeriesSelector(TimeSeriesSelector timeSeriesSelector)
Defines the set of time series that are used in the what-if analysis with a
TimeSeriesIdentifiersobject. What-if analyses are performed only for the time series in this object.The
TimeSeriesIdentifiersobject needs the following information:-
DataSource -
Format -
Schema
- Parameters:
timeSeriesSelector- Defines the set of time series that are used in the what-if analysis with aTimeSeriesIdentifiersobject. What-if analyses are performed only for the time series in this object.The
TimeSeriesIdentifiersobject needs the following information:-
DataSource -
Format -
Schema
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
timeSeriesSelector
default CreateWhatIfAnalysisRequest.Builder timeSeriesSelector(Consumer<TimeSeriesSelector.Builder> timeSeriesSelector)
Defines the set of time series that are used in the what-if analysis with a
TimeSeriesIdentifiersobject. What-if analyses are performed only for the time series in this object.The
TimeSeriesIdentifiersobject needs the following information:-
DataSource -
Format -
Schema
TimeSeriesSelector.Builderavoiding the need to create one manually viaTimeSeriesSelector.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeSeriesSelector(TimeSeriesSelector).- Parameters:
timeSeriesSelector- a consumer that will call methods onTimeSeriesSelector.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
timeSeriesSelector(TimeSeriesSelector)
-
-
tags
CreateWhatIfAnalysisRequest.Builder tags(Collection<Tag> tags)
A list of tags to apply to the what if forecast.
- Parameters:
tags- A list of tags to apply to the what if forecast.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateWhatIfAnalysisRequest.Builder tags(Tag... tags)
A list of tags to apply to the what if forecast.
- Parameters:
tags- A list of tags to apply to the what if forecast.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateWhatIfAnalysisRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags to apply to the what if forecast.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreateWhatIfAnalysisRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateWhatIfAnalysisRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-