@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Model extends Object implements Serializable, Cloneable, StructuredPojo
Information about a model deployed on an edge device that is registered with SageMaker Edge Manager.
Constructor and Description |
---|
Model() |
Modifier and Type | Method and Description |
---|---|
Model |
clone() |
boolean |
equals(Object obj) |
Date |
getLatestInference()
The timestamp of the last inference that was made.
|
Date |
getLatestSampleTime()
The timestamp of the last data sample taken.
|
List<EdgeMetric> |
getModelMetrics()
Information required for model metrics.
|
String |
getModelName()
The name of the model.
|
String |
getModelVersion()
The version of the model.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLatestInference(Date latestInference)
The timestamp of the last inference that was made.
|
void |
setLatestSampleTime(Date latestSampleTime)
The timestamp of the last data sample taken.
|
void |
setModelMetrics(Collection<EdgeMetric> modelMetrics)
Information required for model metrics.
|
void |
setModelName(String modelName)
The name of the model.
|
void |
setModelVersion(String modelVersion)
The version of the model.
|
String |
toString()
Returns a string representation of this object.
|
Model |
withLatestInference(Date latestInference)
The timestamp of the last inference that was made.
|
Model |
withLatestSampleTime(Date latestSampleTime)
The timestamp of the last data sample taken.
|
Model |
withModelMetrics(Collection<EdgeMetric> modelMetrics)
Information required for model metrics.
|
Model |
withModelMetrics(EdgeMetric... modelMetrics)
Information required for model metrics.
|
Model |
withModelName(String modelName)
The name of the model.
|
Model |
withModelVersion(String modelVersion)
The version of the model.
|
public void setModelName(String modelName)
The name of the model.
modelName
- The name of the model.public String getModelName()
The name of the model.
public Model withModelName(String modelName)
The name of the model.
modelName
- The name of the model.public void setModelVersion(String modelVersion)
The version of the model.
modelVersion
- The version of the model.public String getModelVersion()
The version of the model.
public Model withModelVersion(String modelVersion)
The version of the model.
modelVersion
- The version of the model.public void setLatestSampleTime(Date latestSampleTime)
The timestamp of the last data sample taken.
latestSampleTime
- The timestamp of the last data sample taken.public Date getLatestSampleTime()
The timestamp of the last data sample taken.
public Model withLatestSampleTime(Date latestSampleTime)
The timestamp of the last data sample taken.
latestSampleTime
- The timestamp of the last data sample taken.public void setLatestInference(Date latestInference)
The timestamp of the last inference that was made.
latestInference
- The timestamp of the last inference that was made.public Date getLatestInference()
The timestamp of the last inference that was made.
public Model withLatestInference(Date latestInference)
The timestamp of the last inference that was made.
latestInference
- The timestamp of the last inference that was made.public List<EdgeMetric> getModelMetrics()
Information required for model metrics.
public void setModelMetrics(Collection<EdgeMetric> modelMetrics)
Information required for model metrics.
modelMetrics
- Information required for model metrics.public Model withModelMetrics(EdgeMetric... modelMetrics)
Information required for model metrics.
NOTE: This method appends the values to the existing list (if any). Use
setModelMetrics(java.util.Collection)
or withModelMetrics(java.util.Collection)
if you want to
override the existing values.
modelMetrics
- Information required for model metrics.public Model withModelMetrics(Collection<EdgeMetric> modelMetrics)
Information required for model metrics.
modelMetrics
- Information required for model metrics.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.