Class PredictRequest

    • Constructor Detail

      • PredictRequest

        public PredictRequest()
    • Method Detail

      • setMLModelId

        public void setMLModelId​(String mLModelId)

        A unique identifier of the MLModel.

        Parameters:
        mLModelId - A unique identifier of the MLModel.
      • getMLModelId

        public String getMLModelId()

        A unique identifier of the MLModel.

        Returns:
        A unique identifier of the MLModel.
      • withMLModelId

        public PredictRequest withMLModelId​(String mLModelId)

        A unique identifier of the MLModel.

        Parameters:
        mLModelId - A unique identifier of the MLModel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRecord

        public void setRecord​(Map<String,​String> record)
        Parameters:
        record -
      • withRecord

        public PredictRequest withRecord​(Map<String,​String> record)
        Parameters:
        record -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clearRecordEntries

        public PredictRequest clearRecordEntries()
        Removes all the entries added into Record. <p> Returns a reference to this object so that method calls can be chained together.
      • setPredictEndpoint

        public void setPredictEndpoint​(String predictEndpoint)
        Parameters:
        predictEndpoint -
      • getPredictEndpoint

        public String getPredictEndpoint()
        Returns:
      • withPredictEndpoint

        public PredictRequest withPredictEndpoint​(String predictEndpoint)
        Parameters:
        predictEndpoint -
        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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object