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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description PredictRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PredictRequestaddRecordEntry(String key, String value)PredictRequestclearRecordEntries()Removes all the entries added into Record.PredictRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetMLModelId()A unique identifier of theMLModel.StringgetPredictEndpoint()Map<String,String>getRecord()inthashCode()voidsetMLModelId(String mLModelId)A unique identifier of theMLModel.voidsetPredictEndpoint(String predictEndpoint)voidsetRecord(Map<String,String> record)StringtoString()Returns a string representation of this object; useful for testing and debugging.PredictRequestwithMLModelId(String mLModelId)A unique identifier of theMLModel.PredictRequestwithPredictEndpoint(String predictEndpoint)PredictRequestwithRecord(Map<String,String> record)-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setMLModelId
public void setMLModelId(String mLModelId)
A unique identifier of the
MLModel.- Parameters:
mLModelId- A unique identifier of theMLModel.
-
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 theMLModel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PredictRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-