Class UpdateMLModelRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.machinelearning.model.UpdateMLModelRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class UpdateMLModelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
See Also:
  • Constructor Details

    • UpdateMLModelRequest

      public UpdateMLModelRequest()
  • Method Details

    • setMLModelId

      public void setMLModelId(String mLModelId)

      The ID assigned to the MLModel during creation.

      Parameters:
      mLModelId - The ID assigned to the MLModel during creation.
    • getMLModelId

      public String getMLModelId()

      The ID assigned to the MLModel during creation.

      Returns:
      The ID assigned to the MLModel during creation.
    • withMLModelId

      public UpdateMLModelRequest withMLModelId(String mLModelId)

      The ID assigned to the MLModel during creation.

      Parameters:
      mLModelId - The ID assigned to the MLModel during creation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setMLModelName

      public void setMLModelName(String mLModelName)

      A user-supplied name or description of the MLModel.

      Parameters:
      mLModelName - A user-supplied name or description of the MLModel.
    • getMLModelName

      public String getMLModelName()

      A user-supplied name or description of the MLModel.

      Returns:
      A user-supplied name or description of the MLModel.
    • withMLModelName

      public UpdateMLModelRequest withMLModelName(String mLModelName)

      A user-supplied name or description of the MLModel.

      Parameters:
      mLModelName - A user-supplied name or description of the MLModel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setScoreThreshold

      public void setScoreThreshold(Float scoreThreshold)

      The ScoreThreshold used in binary classification MLModel that marks the boundary between a positive prediction and a negative prediction.

      Output values greater than or equal to the ScoreThreshold receive a positive result from the MLModel, such as true. Output values less than the ScoreThreshold receive a negative response from the MLModel, such as false.

      Parameters:
      scoreThreshold - The ScoreThreshold used in binary classification MLModel that marks the boundary between a positive prediction and a negative prediction.

      Output values greater than or equal to the ScoreThreshold receive a positive result from the MLModel, such as true. Output values less than the ScoreThreshold receive a negative response from the MLModel, such as false.

    • getScoreThreshold

      public Float getScoreThreshold()

      The ScoreThreshold used in binary classification MLModel that marks the boundary between a positive prediction and a negative prediction.

      Output values greater than or equal to the ScoreThreshold receive a positive result from the MLModel, such as true. Output values less than the ScoreThreshold receive a negative response from the MLModel, such as false.

      Returns:
      The ScoreThreshold used in binary classification MLModel that marks the boundary between a positive prediction and a negative prediction.

      Output values greater than or equal to the ScoreThreshold receive a positive result from the MLModel, such as true. Output values less than the ScoreThreshold receive a negative response from the MLModel, such as false.

    • withScoreThreshold

      public UpdateMLModelRequest withScoreThreshold(Float scoreThreshold)

      The ScoreThreshold used in binary classification MLModel that marks the boundary between a positive prediction and a negative prediction.

      Output values greater than or equal to the ScoreThreshold receive a positive result from the MLModel, such as true. Output values less than the ScoreThreshold receive a negative response from the MLModel, such as false.

      Parameters:
      scoreThreshold - The ScoreThreshold used in binary classification MLModel that marks the boundary between a positive prediction and a negative prediction.

      Output values greater than or equal to the ScoreThreshold receive a positive result from the MLModel, such as true. Output values less than the ScoreThreshold receive a negative response from the MLModel, such as false.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public UpdateMLModelRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: