public class UpdateMLModelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
UpdateMLModel operation
.
Updates the MLModelName
and the
ScoreThreshold
of an MLModel
.
You can use the GetMLModel operation to view the contents of the updated data element.
NOOP
Constructor and Description |
---|
UpdateMLModelRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateMLModelRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getMLModelId()
The ID assigned to the
MLModel during creation. |
String |
getMLModelName()
A user-supplied name or description of the
MLModel . |
Float |
getScoreThreshold()
The
ScoreThreshold used in binary classification
MLModel that marks the boundary between a positive
prediction and a negative prediction. |
int |
hashCode() |
void |
setMLModelId(String mLModelId)
The ID assigned to the
MLModel during creation. |
void |
setMLModelName(String mLModelName)
A user-supplied name or description of the
MLModel . |
void |
setScoreThreshold(Float scoreThreshold)
The
ScoreThreshold used in binary classification
MLModel 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 the
MLModel during creation. |
UpdateMLModelRequest |
withMLModelName(String mLModelName)
A user-supplied name or description of the
MLModel . |
UpdateMLModelRequest |
withScoreThreshold(Float scoreThreshold)
The
ScoreThreshold used in binary classification
MLModel that marks the boundary between a positive
prediction and a negative prediction. |
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getMLModelId()
MLModel
during creation.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+
MLModel
during creation.public void setMLModelId(String mLModelId)
MLModel
during creation.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+
mLModelId
- The ID assigned to the MLModel
during creation.public UpdateMLModelRequest withMLModelId(String mLModelId)
MLModel
during creation.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [a-zA-Z0-9_.-]+
mLModelId
- The ID assigned to the MLModel
during creation.public String getMLModelName()
MLModel
.
Constraints:
Length: 0 - 1024
Pattern: .*\S.*|^$
MLModel
.public void setMLModelName(String mLModelName)
MLModel
.
Constraints:
Length: 0 - 1024
Pattern: .*\S.*|^$
mLModelName
- A user-supplied name or description of the MLModel
.public UpdateMLModelRequest withMLModelName(String mLModelName)
MLModel
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
Pattern: .*\S.*|^$
mLModelName
- A user-supplied name or description of the MLModel
.public Float getScoreThreshold()
ScoreThreshold
used in binary classification
MLModel
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 the MLModel
, such as true
. Output
values less than the ScoreThreshold
receive a negative
response from the MLModel
, such as false
.
ScoreThreshold
used in binary classification
MLModel
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 the MLModel
, such as true
. Output
values less than the ScoreThreshold
receive a negative
response from the MLModel
, such as false
.
public void setScoreThreshold(Float scoreThreshold)
ScoreThreshold
used in binary classification
MLModel
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 the MLModel
, such as true
. Output
values less than the ScoreThreshold
receive a negative
response from the MLModel
, such as false
.
scoreThreshold
- The ScoreThreshold
used in binary classification
MLModel
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 the MLModel
, such as true
. Output
values less than the ScoreThreshold
receive a negative
response from the MLModel
, such as false
.
public UpdateMLModelRequest withScoreThreshold(Float scoreThreshold)
ScoreThreshold
used in binary classification
MLModel
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 the MLModel
, such as true
. Output
values less than the ScoreThreshold
receive a negative
response from the MLModel
, such as false
.
Returns a reference to this object so that method calls can be chained together.
scoreThreshold
- The ScoreThreshold
used in binary classification
MLModel
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 the MLModel
, such as true
. Output
values less than the ScoreThreshold
receive a negative
response from the MLModel
, such as false
.
public String toString()
toString
in class Object
Object.toString()
public UpdateMLModelRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.