Class PredictRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.machinelearning.model.PredictRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRecordEntry(String key, String value) Removes all the entries added into Record.clone()Creates a shallow clone of this request.booleanA unique identifier of theMLModel.inthashCode()voidsetMLModelId(String mLModelId) A unique identifier of theMLModel.voidsetPredictEndpoint(String predictEndpoint) voidtoString()Returns a string representation of this object; useful for testing and debugging.withMLModelId(String mLModelId) A unique identifier of theMLModel.withPredictEndpoint(String predictEndpoint) withRecord(Map<String, String> record) Methods inherited from class 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
-
Constructor Details
-
PredictRequest
public PredictRequest()
-
-
Method Details
-
setMLModelId
A unique identifier of the
MLModel.- Parameters:
mLModelId- A unique identifier of theMLModel.
-
getMLModelId
A unique identifier of the
MLModel.- Returns:
- A unique identifier of the
MLModel.
-
withMLModelId
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.
-
getRecord
-
setRecord
-
withRecord
- Parameters:
record-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addRecordEntry
-
clearRecordEntries
Removes all the entries added into Record. <p> Returns a reference to this object so that method calls can be chained together. -
setPredictEndpoint
- Parameters:
predictEndpoint-
-
getPredictEndpoint
- Returns:
-
withPredictEndpoint
- Parameters:
predictEndpoint-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
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:
-