Class ModelSnapshot

java.lang.Object
com.azure.ai.anomalydetector.models.ModelSnapshot

public final class ModelSnapshot extends Object
The ModelSnapshot model.
  • Constructor Details

    • ModelSnapshot

      public ModelSnapshot()
  • Method Details

    • 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.