Interface ModelVersionEvaluation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ModelVersionEvaluation.Builder,
,ModelVersionEvaluation> SdkBuilder<ModelVersionEvaluation.Builder,
,ModelVersionEvaluation> SdkPojo
- Enclosing class:
ModelVersionEvaluation
public static interface ModelVersionEvaluation.Builder
extends SdkPojo, CopyableBuilder<ModelVersionEvaluation.Builder,ModelVersionEvaluation>
-
Method Summary
Modifier and TypeMethodDescriptionevaluationScore
(String evaluationScore) The evaluation score generated for the model version.outputVariableName
(String outputVariableName) The output variable name.default ModelVersionEvaluation.Builder
predictionExplanations
(Consumer<PredictionExplanations.Builder> predictionExplanations) The prediction explanations generated for the model version.predictionExplanations
(PredictionExplanations predictionExplanations) The prediction explanations generated for the model version.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 Details
-
outputVariableName
The output variable name.
- Parameters:
outputVariableName
- The output variable name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationScore
The evaluation score generated for the model version.
- Parameters:
evaluationScore
- The evaluation score generated for the model version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predictionExplanations
ModelVersionEvaluation.Builder predictionExplanations(PredictionExplanations predictionExplanations) The prediction explanations generated for the model version.
- Parameters:
predictionExplanations
- The prediction explanations generated for the model version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predictionExplanations
default ModelVersionEvaluation.Builder predictionExplanations(Consumer<PredictionExplanations.Builder> predictionExplanations) The prediction explanations generated for the model version.
This is a convenience method that creates an instance of thePredictionExplanations.Builder
avoiding the need to create one manually viaPredictionExplanations.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topredictionExplanations(PredictionExplanations)
.- Parameters:
predictionExplanations
- a consumer that will call methods onPredictionExplanations.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-