Interface PredictorMonitorEvaluation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PredictorMonitorEvaluation.Builder,PredictorMonitorEvaluation>,SdkBuilder<PredictorMonitorEvaluation.Builder,PredictorMonitorEvaluation>,SdkPojo
- Enclosing class:
- PredictorMonitorEvaluation
public static interface PredictorMonitorEvaluation.Builder extends SdkPojo, CopyableBuilder<PredictorMonitorEvaluation.Builder,PredictorMonitorEvaluation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PredictorMonitorEvaluation.BuilderevaluationState(String evaluationState)The status of the monitor evaluation.PredictorMonitorEvaluation.BuilderevaluationTime(Instant evaluationTime)The timestamp that indicates when the monitor evaluation was started.PredictorMonitorEvaluation.Buildermessage(String message)Information about any errors that may have occurred during the monitor evaluation.PredictorMonitorEvaluation.BuildermetricResults(Collection<MetricResult> metricResults)A list of metrics Forecast calculated when monitoring a predictor.PredictorMonitorEvaluation.BuildermetricResults(Consumer<MetricResult.Builder>... metricResults)A list of metrics Forecast calculated when monitoring a predictor.PredictorMonitorEvaluation.BuildermetricResults(MetricResult... metricResults)A list of metrics Forecast calculated when monitoring a predictor.PredictorMonitorEvaluation.BuildermonitorArn(String monitorArn)The Amazon Resource Name (ARN) of the monitor resource.default PredictorMonitorEvaluation.BuildermonitorDataSource(Consumer<MonitorDataSource.Builder> monitorDataSource)The source of the data the monitor resource used during the evaluation.PredictorMonitorEvaluation.BuildermonitorDataSource(MonitorDataSource monitorDataSource)The source of the data the monitor resource used during the evaluation.PredictorMonitorEvaluation.BuildernumItemsEvaluated(Long numItemsEvaluated)The number of items considered during the evaluation.default PredictorMonitorEvaluation.BuilderpredictorEvent(Consumer<PredictorEvent.Builder> predictorEvent)Provides details about a predictor event, such as a retraining.PredictorMonitorEvaluation.BuilderpredictorEvent(PredictorEvent predictorEvent)Provides details about a predictor event, such as a retraining.PredictorMonitorEvaluation.BuilderresourceArn(String resourceArn)The Amazon Resource Name (ARN) of the resource to monitor.PredictorMonitorEvaluation.BuilderwindowEndDatetime(Instant windowEndDatetime)The timestamp that indicates the end of the window that is used for monitor evaluation.PredictorMonitorEvaluation.BuilderwindowStartDatetime(Instant windowStartDatetime)The timestamp that indicates the start of the window that is used for monitor evaluation.-
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
-
resourceArn
PredictorMonitorEvaluation.Builder resourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource to monitor.
- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the resource to monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitorArn
PredictorMonitorEvaluation.Builder monitorArn(String monitorArn)
The Amazon Resource Name (ARN) of the monitor resource.
- Parameters:
monitorArn- The Amazon Resource Name (ARN) of the monitor resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationTime
PredictorMonitorEvaluation.Builder evaluationTime(Instant evaluationTime)
The timestamp that indicates when the monitor evaluation was started.
- Parameters:
evaluationTime- The timestamp that indicates when the monitor evaluation was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationState
PredictorMonitorEvaluation.Builder evaluationState(String evaluationState)
The status of the monitor evaluation. The state can be
SUCCESSorFAILURE.- Parameters:
evaluationState- The status of the monitor evaluation. The state can beSUCCESSorFAILURE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
windowStartDatetime
PredictorMonitorEvaluation.Builder windowStartDatetime(Instant windowStartDatetime)
The timestamp that indicates the start of the window that is used for monitor evaluation.
- Parameters:
windowStartDatetime- The timestamp that indicates the start of the window that is used for monitor evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
windowEndDatetime
PredictorMonitorEvaluation.Builder windowEndDatetime(Instant windowEndDatetime)
The timestamp that indicates the end of the window that is used for monitor evaluation.
- Parameters:
windowEndDatetime- The timestamp that indicates the end of the window that is used for monitor evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predictorEvent
PredictorMonitorEvaluation.Builder predictorEvent(PredictorEvent predictorEvent)
Provides details about a predictor event, such as a retraining.
- Parameters:
predictorEvent- Provides details about a predictor event, such as a retraining.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predictorEvent
default PredictorMonitorEvaluation.Builder predictorEvent(Consumer<PredictorEvent.Builder> predictorEvent)
Provides details about a predictor event, such as a retraining.
This is a convenience method that creates an instance of thePredictorEvent.Builderavoiding the need to create one manually viaPredictorEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topredictorEvent(PredictorEvent).- Parameters:
predictorEvent- a consumer that will call methods onPredictorEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
predictorEvent(PredictorEvent)
-
monitorDataSource
PredictorMonitorEvaluation.Builder monitorDataSource(MonitorDataSource monitorDataSource)
The source of the data the monitor resource used during the evaluation.
- Parameters:
monitorDataSource- The source of the data the monitor resource used during the evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitorDataSource
default PredictorMonitorEvaluation.Builder monitorDataSource(Consumer<MonitorDataSource.Builder> monitorDataSource)
The source of the data the monitor resource used during the evaluation.
This is a convenience method that creates an instance of theMonitorDataSource.Builderavoiding the need to create one manually viaMonitorDataSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomonitorDataSource(MonitorDataSource).- Parameters:
monitorDataSource- a consumer that will call methods onMonitorDataSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
monitorDataSource(MonitorDataSource)
-
metricResults
PredictorMonitorEvaluation.Builder metricResults(Collection<MetricResult> metricResults)
A list of metrics Forecast calculated when monitoring a predictor. You can compare the value for each metric in the list to the metric's value in the Baseline to see how your predictor's performance is changing.
- Parameters:
metricResults- A list of metrics Forecast calculated when monitoring a predictor. You can compare the value for each metric in the list to the metric's value in the Baseline to see how your predictor's performance is changing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricResults
PredictorMonitorEvaluation.Builder metricResults(MetricResult... metricResults)
A list of metrics Forecast calculated when monitoring a predictor. You can compare the value for each metric in the list to the metric's value in the Baseline to see how your predictor's performance is changing.
- Parameters:
metricResults- A list of metrics Forecast calculated when monitoring a predictor. You can compare the value for each metric in the list to the metric's value in the Baseline to see how your predictor's performance is changing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricResults
PredictorMonitorEvaluation.Builder metricResults(Consumer<MetricResult.Builder>... metricResults)
A list of metrics Forecast calculated when monitoring a predictor. You can compare the value for each metric in the list to the metric's value in the Baseline to see how your predictor's performance is changing.
This is a convenience method that creates an instance of theMetricResult.Builderavoiding the need to create one manually viaMetricResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#metricResults(List.) - Parameters:
metricResults- a consumer that will call methods onMetricResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#metricResults(java.util.Collection)
-
numItemsEvaluated
PredictorMonitorEvaluation.Builder numItemsEvaluated(Long numItemsEvaluated)
The number of items considered during the evaluation.
- Parameters:
numItemsEvaluated- The number of items considered during the evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
PredictorMonitorEvaluation.Builder message(String message)
Information about any errors that may have occurred during the monitor evaluation.
- Parameters:
message- Information about any errors that may have occurred during the monitor evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-