public class PredictRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PredictRequest() |
| Modifier and Type | Method and Description |
|---|---|
PredictRequest |
addRecordEntry(String key,
String value) |
PredictRequest |
clearRecordEntries()
Removes all the entries added into Record.
|
PredictRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getMLModelId()
A unique identifier of the
MLModel. |
String |
getPredictEndpoint()
Returns the value of the PredictEndpoint property for this object.
|
Map<String,String> |
getRecord()
Returns the value of the Record property for this object.
|
int |
hashCode() |
void |
setMLModelId(String mLModelId)
A unique identifier of the
MLModel. |
void |
setPredictEndpoint(String predictEndpoint)
Sets the value of the PredictEndpoint property for this object.
|
void |
setRecord(Map<String,String> record)
Sets the value of the Record property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PredictRequest |
withMLModelId(String mLModelId)
A unique identifier of the
MLModel. |
PredictRequest |
withPredictEndpoint(String predictEndpoint)
Sets the value of the PredictEndpoint property for this object.
|
PredictRequest |
withRecord(Map<String,String> record)
Sets the value of the Record property for this object.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic void setMLModelId(String mLModelId)
A unique identifier of the MLModel.
mLModelId - A unique identifier of the MLModel.public String getMLModelId()
A unique identifier of the MLModel.
MLModel.public PredictRequest withMLModelId(String mLModelId)
A unique identifier of the MLModel.
mLModelId - A unique identifier of the MLModel.public Map<String,String> getRecord()
public void setRecord(Map<String,String> record)
record - The new value for the Record property for this object.public PredictRequest withRecord(Map<String,String> record)
record - The new value for the Record property for this object.public PredictRequest addRecordEntry(String key, String value)
public PredictRequest clearRecordEntries()
public void setPredictEndpoint(String predictEndpoint)
predictEndpoint - The new value for the PredictEndpoint property for this object.public String getPredictEndpoint()
public PredictRequest withPredictEndpoint(String predictEndpoint)
predictEndpoint - The new value for the PredictEndpoint property for this object.public String toString()
toString in class ObjectObject.toString()public PredictRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2015. All rights reserved.