Interface Prediction.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Prediction.Builder,,Prediction> SdkBuilder<Prediction.Builder,,Prediction> SdkPojo
- Enclosing class:
Prediction
@Mutable
@NotThreadSafe
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 aBINARYorMULTICLASSMLModel.predictedScores(Map<String, Float> predictedScores) Sets the value of the PredictedScores property for this object.predictedValue(Float predictedValue) The prediction value forREGRESSIONMLModel.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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.
-