Interface UpdateMlModelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateMlModelRequest.Builder,,UpdateMlModelRequest> MachineLearningRequest.Builder,SdkBuilder<UpdateMlModelRequest.Builder,,UpdateMlModelRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateMlModelRequest
public static interface UpdateMlModelRequest.Builder
extends MachineLearningRequest.Builder, SdkPojo, CopyableBuilder<UpdateMlModelRequest.Builder,UpdateMlModelRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID assigned to theMLModelduring creation.mlModelName(String mlModelName) A user-supplied name or description of theMLModel.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.scoreThreshold(Float scoreThreshold) TheScoreThresholdused in binary classificationMLModelthat marks the boundary between a positive prediction and a negative prediction.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.machinelearning.model.MachineLearningRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
mlModelId
The ID assigned to the
MLModelduring creation.- Parameters:
mlModelId- The ID assigned to theMLModelduring creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mlModelName
A user-supplied name or description of the
MLModel.- Parameters:
mlModelName- A user-supplied name or description of theMLModel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scoreThreshold
The
ScoreThresholdused in binary classificationMLModelthat marks the boundary between a positive prediction and a negative prediction.Output values greater than or equal to the
ScoreThresholdreceive a positive result from theMLModel, such astrue. Output values less than theScoreThresholdreceive a negative response from theMLModel, such asfalse.- Parameters:
scoreThreshold- TheScoreThresholdused in binary classificationMLModelthat marks the boundary between a positive prediction and a negative prediction.Output values greater than or equal to the
ScoreThresholdreceive a positive result from theMLModel, such astrue. Output values less than theScoreThresholdreceive a negative response from theMLModel, such asfalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateMlModelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateMlModelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-