Interface ForecastComputation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ForecastComputation.Builder,ForecastComputation>,SdkBuilder<ForecastComputation.Builder,ForecastComputation>,SdkPojo
- Enclosing class:
- ForecastComputation
@Mutable @NotThreadSafe public static interface ForecastComputation.Builder extends SdkPojo, CopyableBuilder<ForecastComputation.Builder,ForecastComputation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ForecastComputation.BuildercomputationId(String computationId)The ID for a computation.ForecastComputation.BuildercustomSeasonalityValue(Integer customSeasonalityValue)The custom seasonality value setup of a forecast computation.ForecastComputation.BuilderlowerBoundary(Double lowerBoundary)The lower boundary setup of a forecast computation.ForecastComputation.Buildername(String name)The name of a computation.ForecastComputation.BuilderperiodsBackward(Integer periodsBackward)The periods backward setup of a forecast computation.ForecastComputation.BuilderperiodsForward(Integer periodsForward)The periods forward setup of a forecast computation.ForecastComputation.BuilderpredictionInterval(Integer predictionInterval)The prediction interval setup of a forecast computation.ForecastComputation.Builderseasonality(String seasonality)The seasonality setup of a forecast computation.ForecastComputation.Builderseasonality(ForecastComputationSeasonality seasonality)The seasonality setup of a forecast computation.default ForecastComputation.Buildertime(Consumer<DimensionField.Builder> time)The time field that is used in a computation.ForecastComputation.Buildertime(DimensionField time)The time field that is used in a computation.ForecastComputation.BuilderupperBoundary(Double upperBoundary)The upper boundary setup of a forecast computation.default ForecastComputation.Buildervalue(Consumer<MeasureField.Builder> value)The value field that is used in a computation.ForecastComputation.Buildervalue(MeasureField value)The value field that is used in a computation.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
computationId
ForecastComputation.Builder computationId(String computationId)
The ID for a computation.
- Parameters:
computationId- The ID for a computation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
ForecastComputation.Builder name(String name)
The name of a computation.
- Parameters:
name- The name of a computation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
time
ForecastComputation.Builder time(DimensionField time)
The time field that is used in a computation.
- Parameters:
time- The time field that is used in a computation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
time
default ForecastComputation.Builder time(Consumer<DimensionField.Builder> time)
The time field that is used in a computation.
This is a convenience method that creates an instance of theDimensionField.Builderavoiding the need to create one manually viaDimensionField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totime(DimensionField).- Parameters:
time- a consumer that will call methods onDimensionField.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
time(DimensionField)
-
value
ForecastComputation.Builder value(MeasureField value)
The value field that is used in a computation.
- Parameters:
value- The value field that is used in a computation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
default ForecastComputation.Builder value(Consumer<MeasureField.Builder> value)
The value field that is used in a computation.
This is a convenience method that creates an instance of theMeasureField.Builderavoiding the need to create one manually viaMeasureField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalue(MeasureField).- Parameters:
value- a consumer that will call methods onMeasureField.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
value(MeasureField)
-
periodsForward
ForecastComputation.Builder periodsForward(Integer periodsForward)
The periods forward setup of a forecast computation.
- Parameters:
periodsForward- The periods forward setup of a forecast computation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
periodsBackward
ForecastComputation.Builder periodsBackward(Integer periodsBackward)
The periods backward setup of a forecast computation.
- Parameters:
periodsBackward- The periods backward setup of a forecast computation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
upperBoundary
ForecastComputation.Builder upperBoundary(Double upperBoundary)
The upper boundary setup of a forecast computation.
- Parameters:
upperBoundary- The upper boundary setup of a forecast computation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lowerBoundary
ForecastComputation.Builder lowerBoundary(Double lowerBoundary)
The lower boundary setup of a forecast computation.
- Parameters:
lowerBoundary- The lower boundary setup of a forecast computation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predictionInterval
ForecastComputation.Builder predictionInterval(Integer predictionInterval)
The prediction interval setup of a forecast computation.
- Parameters:
predictionInterval- The prediction interval setup of a forecast computation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
seasonality
ForecastComputation.Builder seasonality(String seasonality)
The seasonality setup of a forecast computation. Choose one of the following options:
-
AUTOMATIC -
CUSTOM: Checks the custom seasonality value.
- Parameters:
seasonality- The seasonality setup of a forecast computation. Choose one of the following options:-
AUTOMATIC -
CUSTOM: Checks the custom seasonality value.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ForecastComputationSeasonality,ForecastComputationSeasonality
-
-
seasonality
ForecastComputation.Builder seasonality(ForecastComputationSeasonality seasonality)
The seasonality setup of a forecast computation. Choose one of the following options:
-
AUTOMATIC -
CUSTOM: Checks the custom seasonality value.
- Parameters:
seasonality- The seasonality setup of a forecast computation. Choose one of the following options:-
AUTOMATIC -
CUSTOM: Checks the custom seasonality value.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ForecastComputationSeasonality,ForecastComputationSeasonality
-
-
customSeasonalityValue
ForecastComputation.Builder customSeasonalityValue(Integer customSeasonalityValue)
The custom seasonality value setup of a forecast computation.
- Parameters:
customSeasonalityValue- The custom seasonality value setup of a forecast computation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-