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 com.amazonaws.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.boolean
A unique identifier of theMLModel
.int
hashCode()
void
setMLModelId
(String mLModelId) A unique identifier of theMLModel
.void
setPredictEndpoint
(String predictEndpoint) void
toString()
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 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
-
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
- Returns:
-
setRecord
- Parameters:
record
-
-
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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 classAmazonWebServiceRequest
- See Also:
-