Class Model
- java.lang.Object
-
- com.azure.ai.anomalydetector.models.Model
-
public final class Model extends Object
Response of getting a model.
-
-
Constructor Summary
Constructors Constructor Description Model()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
getCreatedTime()
Get the createdTime property: Date and time (UTC) when the model was created.OffsetDateTime
getLastUpdatedTime()
Get the lastUpdatedTime property: Date and time (UTC) when the model was last updated.UUID
getModelId()
Get the modelId property: Model identifier.ModelInfo
getModelInfo()
Get the modelInfo property: Train result of a model including status, errors and diagnose info for model and variables.Model
setCreatedTime(OffsetDateTime createdTime)
Set the createdTime property: Date and time (UTC) when the model was created.Model
setLastUpdatedTime(OffsetDateTime lastUpdatedTime)
Set the lastUpdatedTime property: Date and time (UTC) when the model was last updated.Model
setModelId(UUID modelId)
Set the modelId property: Model identifier.Model
setModelInfo(ModelInfo modelInfo)
Set the modelInfo property: Train result of a model including status, errors and diagnose info for model and variables.
-
-
-
Method Detail
-
getModelId
public UUID getModelId()
Get the modelId property: Model identifier.- Returns:
- the modelId value.
-
setModelId
public Model setModelId(UUID modelId)
Set the modelId property: Model identifier.- Parameters:
modelId
- the modelId value to set.- Returns:
- the Model object itself.
-
getCreatedTime
public OffsetDateTime getCreatedTime()
Get the createdTime property: Date and time (UTC) when the model was created.- Returns:
- the createdTime value.
-
setCreatedTime
public Model setCreatedTime(OffsetDateTime createdTime)
Set the createdTime property: Date and time (UTC) when the model was created.- Parameters:
createdTime
- the createdTime value to set.- Returns:
- the Model object itself.
-
getLastUpdatedTime
public OffsetDateTime getLastUpdatedTime()
Get the lastUpdatedTime property: Date and time (UTC) when the model was last updated.- Returns:
- the lastUpdatedTime value.
-
setLastUpdatedTime
public Model setLastUpdatedTime(OffsetDateTime lastUpdatedTime)
Set the lastUpdatedTime property: Date and time (UTC) when the model was last updated.- Parameters:
lastUpdatedTime
- the lastUpdatedTime value to set.- Returns:
- the Model object itself.
-
getModelInfo
public ModelInfo getModelInfo()
Get the modelInfo property: Train result of a model including status, errors and diagnose info for model and variables.- Returns:
- the modelInfo value.
-
-