Class UpdateMLModelRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.machinelearning.model.UpdateMLModelRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class UpdateMLModelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UpdateMLModelRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateMLModelRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getMLModelId()
The ID assigned to theMLModel
during creation.String
getMLModelName()
A user-supplied name or description of theMLModel
.Float
getScoreThreshold()
TheScoreThreshold
used in binary classificationMLModel
that marks the boundary between a positive prediction and a negative prediction.int
hashCode()
void
setMLModelId(String mLModelId)
The ID assigned to theMLModel
during creation.void
setMLModelName(String mLModelName)
A user-supplied name or description of theMLModel
.void
setScoreThreshold(Float scoreThreshold)
TheScoreThreshold
used in binary classificationMLModel
that marks the boundary between a positive prediction and a negative prediction.String
toString()
Returns a string representation of this object; useful for testing and debugging.UpdateMLModelRequest
withMLModelId(String mLModelId)
The ID assigned to theMLModel
during creation.UpdateMLModelRequest
withMLModelName(String mLModelName)
A user-supplied name or description of theMLModel
.UpdateMLModelRequest
withScoreThreshold(Float scoreThreshold)
TheScoreThreshold
used in binary classificationMLModel
that marks the boundary between a positive prediction and a negative prediction.-
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)
The ID assigned to the
MLModel
during creation.- Parameters:
mLModelId
- The ID assigned to theMLModel
during creation.
-
getMLModelId
public String getMLModelId()
The ID assigned to the
MLModel
during creation.- Returns:
- The ID assigned to the
MLModel
during creation.
-
withMLModelId
public UpdateMLModelRequest withMLModelId(String mLModelId)
The ID assigned to the
MLModel
during creation.- Parameters:
mLModelId
- The ID assigned to theMLModel
during creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMLModelName
public void setMLModelName(String mLModelName)
A user-supplied name or description of the
MLModel
.- Parameters:
mLModelName
- A user-supplied name or description of theMLModel
.
-
getMLModelName
public String getMLModelName()
A user-supplied name or description of the
MLModel
.- Returns:
- A user-supplied name or description of the
MLModel
.
-
withMLModelName
public UpdateMLModelRequest withMLModelName(String mLModelName)
A user-supplied name or description of the
MLModel
.- Parameters:
mLModelName
- A user-supplied name or description of theMLModel
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setScoreThreshold
public void setScoreThreshold(Float scoreThreshold)
The
ScoreThreshold
used in binary classificationMLModel
that marks the boundary between a positive prediction and a negative prediction.Output values greater than or equal to the
ScoreThreshold
receive a positive result from theMLModel
, such astrue
. Output values less than theScoreThreshold
receive a negative response from theMLModel
, such asfalse
.- Parameters:
scoreThreshold
- TheScoreThreshold
used in binary classificationMLModel
that marks the boundary between a positive prediction and a negative prediction.Output values greater than or equal to the
ScoreThreshold
receive a positive result from theMLModel
, such astrue
. Output values less than theScoreThreshold
receive a negative response from theMLModel
, such asfalse
.
-
getScoreThreshold
public Float getScoreThreshold()
The
ScoreThreshold
used in binary classificationMLModel
that marks the boundary between a positive prediction and a negative prediction.Output values greater than or equal to the
ScoreThreshold
receive a positive result from theMLModel
, such astrue
. Output values less than theScoreThreshold
receive a negative response from theMLModel
, such asfalse
.- Returns:
- The
ScoreThreshold
used in binary classificationMLModel
that marks the boundary between a positive prediction and a negative prediction.Output values greater than or equal to the
ScoreThreshold
receive a positive result from theMLModel
, such astrue
. Output values less than theScoreThreshold
receive a negative response from theMLModel
, such asfalse
.
-
withScoreThreshold
public UpdateMLModelRequest withScoreThreshold(Float scoreThreshold)
The
ScoreThreshold
used in binary classificationMLModel
that marks the boundary between a positive prediction and a negative prediction.Output values greater than or equal to the
ScoreThreshold
receive a positive result from theMLModel
, such astrue
. Output values less than theScoreThreshold
receive a negative response from theMLModel
, such asfalse
.- Parameters:
scoreThreshold
- TheScoreThreshold
used in binary classificationMLModel
that marks the boundary between a positive prediction and a negative prediction.Output values greater than or equal to the
ScoreThreshold
receive a positive result from theMLModel
, such astrue
. Output values less than theScoreThreshold
receive a negative response from theMLModel
, such asfalse
.- 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateMLModelRequest 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:
Object.clone()
-
-