Interface Prediction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Prediction.Builder,
,Prediction> SdkBuilder<Prediction.Builder,
,Prediction> SdkPojo
- Enclosing class:
Prediction
public static interface Prediction.Builder
extends SdkPojo, CopyableBuilder<Prediction.Builder,Prediction>
-
Method Summary
Modifier and TypeMethodDescriptiondetails
(Map<DetailsAttributes, String> details) Sets the value of the Details property for this object.detailsWithStrings
(Map<String, String> details) Sets the value of the Details property for this object.predictedLabel
(String predictedLabel) The prediction label for either aBINARY
orMULTICLASS
MLModel
.predictedScores
(Map<String, Float> predictedScores) Sets the value of the PredictedScores property for this object.predictedValue
(Float predictedValue) The prediction value forREGRESSION
MLModel
.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
-
predictedLabel
The prediction label for either a
BINARY
orMULTICLASS
MLModel
.- Parameters:
predictedLabel
- The prediction label for either aBINARY
orMULTICLASS
MLModel
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predictedValue
The prediction value for
REGRESSION
MLModel
.- Parameters:
predictedValue
- The prediction value forREGRESSION
MLModel
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predictedScores
Sets the value of the PredictedScores property for this object.- Parameters:
predictedScores
- The new value for the PredictedScores property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detailsWithStrings
Sets the value of the Details property for this object.- Parameters:
details
- The new value for the Details property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
Sets the value of the Details property for this object.- Parameters:
details
- The new value for the Details property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-