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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Prediction.Builderdetails(Map<DetailsAttributes,String> details)Sets the value of the Details property for this object.Prediction.BuilderdetailsWithStrings(Map<String,String> details)Sets the value of the Details property for this object.Prediction.BuilderpredictedLabel(String predictedLabel)The prediction label for either aBINARYorMULTICLASSMLModel.Prediction.BuilderpredictedScores(Map<String,Float> predictedScores)Sets the value of the PredictedScores property for this object.Prediction.BuilderpredictedValue(Float predictedValue)The prediction value forREGRESSIONMLModel.-
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 Detail
-
predictedLabel
Prediction.Builder predictedLabel(String predictedLabel)
The prediction label for either a
BINARYorMULTICLASSMLModel.- Parameters:
predictedLabel- The prediction label for either aBINARYorMULTICLASSMLModel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predictedValue
Prediction.Builder predictedValue(Float predictedValue)
The prediction value for
REGRESSIONMLModel.- Parameters:
predictedValue- The prediction value forREGRESSIONMLModel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predictedScores
Prediction.Builder predictedScores(Map<String,Float> 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
Prediction.Builder detailsWithStrings(Map<String,String> 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.
-
details
Prediction.Builder details(Map<DetailsAttributes,String> 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.
-
-