Class ModelSnapshot
- java.lang.Object
-
- com.azure.ai.anomalydetector.models.ModelSnapshot
-
public final class ModelSnapshot extends Object
The ModelSnapshot model.
-
-
Constructor Summary
Constructors Constructor Description ModelSnapshot()
-
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.String
getDisplayName()
Get the displayName property: The displayName property.OffsetDateTime
getLastUpdatedTime()
Get the lastUpdatedTime property: Date and time (UTC) when the model was last updated.UUID
getModelId()
Get the modelId property: Model identifier.ModelStatus
getStatus()
Get the status property: Model training status.int
getVariablesCount()
Get the variablesCount property: Total number of variables.ModelSnapshot
setCreatedTime(OffsetDateTime createdTime)
Set the createdTime property: Date and time (UTC) when the model was created.ModelSnapshot
setDisplayName(String displayName)
Set the displayName property: The displayName property.ModelSnapshot
setLastUpdatedTime(OffsetDateTime lastUpdatedTime)
Set the lastUpdatedTime property: Date and time (UTC) when the model was last updated.ModelSnapshot
setModelId(UUID modelId)
Set the modelId property: Model identifier.ModelSnapshot
setVariablesCount(int variablesCount)
Set the variablesCount property: Total number of variables.
-
-
-
Method Detail
-
getModelId
public UUID getModelId()
Get the modelId property: Model identifier.- Returns:
- the modelId value.
-
setModelId
public ModelSnapshot setModelId(UUID modelId)
Set the modelId property: Model identifier.- Parameters:
modelId
- the modelId value to set.- Returns:
- the ModelSnapshot 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 ModelSnapshot 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 ModelSnapshot 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 ModelSnapshot 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 ModelSnapshot object itself.
-
getStatus
public ModelStatus getStatus()
Get the status property: Model training status.- Returns:
- the status value.
-
getDisplayName
public String getDisplayName()
Get the displayName property: The displayName property.- Returns:
- the displayName value.
-
setDisplayName
public ModelSnapshot setDisplayName(String displayName)
Set the displayName property: The displayName property.- Parameters:
displayName
- the displayName value to set.- Returns:
- the ModelSnapshot object itself.
-
getVariablesCount
public int getVariablesCount()
Get the variablesCount property: Total number of variables.- Returns:
- the variablesCount value.
-
setVariablesCount
public ModelSnapshot setVariablesCount(int variablesCount)
Set the variablesCount property: Total number of variables.- Parameters:
variablesCount
- the variablesCount value to set.- Returns:
- the ModelSnapshot object itself.
-
-