Class PredictRequest

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

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

    • PredictRequest

      public PredictRequest()
  • Method Details

    • 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.
    • getRecord

      public Map<String,String> getRecord()
      Returns:
    • 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.
    • addRecordEntry

      public PredictRequest addRecordEntry(String key, String value)
    • 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:
    • equals

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

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

      public PredictRequest 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: