Class UpdateSummaryInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.databoxedge.models.ArmBaseModel
com.azure.resourcemanager.databoxedge.fluent.models.UpdateSummaryInner

public final class UpdateSummaryInner extends ArmBaseModel
Details about ongoing updates and availability of updates on the device.
  • Constructor Details

    • UpdateSummaryInner

      public UpdateSummaryInner()
      Creates an instance of UpdateSummaryInner class.
  • Method Details

    • deviceVersionNumber

      public String deviceVersionNumber()
      Get the deviceVersionNumber property: The current version of the device in format: 1.2.17312.13.",.
      Returns:
      the deviceVersionNumber value.
    • withDeviceVersionNumber

      public UpdateSummaryInner withDeviceVersionNumber(String deviceVersionNumber)
      Set the deviceVersionNumber property: The current version of the device in format: 1.2.17312.13.",.
      Parameters:
      deviceVersionNumber - the deviceVersionNumber value to set.
      Returns:
      the UpdateSummaryInner object itself.
    • friendlyDeviceVersionName

      public String friendlyDeviceVersionName()
      Get the friendlyDeviceVersionName property: The current version of the device in text format.
      Returns:
      the friendlyDeviceVersionName value.
    • withFriendlyDeviceVersionName

      public UpdateSummaryInner withFriendlyDeviceVersionName(String friendlyDeviceVersionName)
      Set the friendlyDeviceVersionName property: The current version of the device in text format.
      Parameters:
      friendlyDeviceVersionName - the friendlyDeviceVersionName value to set.
      Returns:
      the UpdateSummaryInner object itself.
    • deviceLastScannedDateTime

      public OffsetDateTime deviceLastScannedDateTime()
      Get the deviceLastScannedDateTime property: The last time when a scan was done on the device.
      Returns:
      the deviceLastScannedDateTime value.
    • withDeviceLastScannedDateTime

      public UpdateSummaryInner withDeviceLastScannedDateTime(OffsetDateTime deviceLastScannedDateTime)
      Set the deviceLastScannedDateTime property: The last time when a scan was done on the device.
      Parameters:
      deviceLastScannedDateTime - the deviceLastScannedDateTime value to set.
      Returns:
      the UpdateSummaryInner object itself.
    • lastCompletedScanJobDateTime

      public OffsetDateTime lastCompletedScanJobDateTime()
      Get the lastCompletedScanJobDateTime property: The time when the last scan job was completed (success/cancelled/failed) on the appliance.
      Returns:
      the lastCompletedScanJobDateTime value.
    • withLastCompletedScanJobDateTime

      public UpdateSummaryInner withLastCompletedScanJobDateTime(OffsetDateTime lastCompletedScanJobDateTime)
      Set the lastCompletedScanJobDateTime property: The time when the last scan job was completed (success/cancelled/failed) on the appliance.
      Parameters:
      lastCompletedScanJobDateTime - the lastCompletedScanJobDateTime value to set.
      Returns:
      the UpdateSummaryInner object itself.
    • lastCompletedDownloadJobDateTime

      public OffsetDateTime lastCompletedDownloadJobDateTime()
      Get the lastCompletedDownloadJobDateTime property: The time when the last Download job was completed (success/cancelled/failed) on the appliance.
      Returns:
      the lastCompletedDownloadJobDateTime value.
    • lastCompletedInstallJobDateTime

      public OffsetDateTime lastCompletedInstallJobDateTime()
      Get the lastCompletedInstallJobDateTime property: The time when the last Install job was completed (success/cancelled/failed) on the appliance.
      Returns:
      the lastCompletedInstallJobDateTime value.
    • totalNumberOfUpdatesAvailable

      public Integer totalNumberOfUpdatesAvailable()
      Get the totalNumberOfUpdatesAvailable property: The number of updates available for the current device version as per the last device scan.
      Returns:
      the totalNumberOfUpdatesAvailable value.
    • totalNumberOfUpdatesPendingDownload

      public Integer totalNumberOfUpdatesPendingDownload()
      Get the totalNumberOfUpdatesPendingDownload property: The total number of items pending download.
      Returns:
      the totalNumberOfUpdatesPendingDownload value.
    • totalNumberOfUpdatesPendingInstall

      public Integer totalNumberOfUpdatesPendingInstall()
      Get the totalNumberOfUpdatesPendingInstall property: The total number of items pending install.
      Returns:
      the totalNumberOfUpdatesPendingInstall value.
    • rebootBehavior

      public InstallRebootBehavior rebootBehavior()
      Get the rebootBehavior property: Indicates if updates are available and at least one of the updates needs a reboot.
      Returns:
      the rebootBehavior value.
    • ongoingUpdateOperation

      public UpdateOperation ongoingUpdateOperation()
      Get the ongoingUpdateOperation property: The current update operation.
      Returns:
      the ongoingUpdateOperation value.
    • inProgressDownloadJobId

      public String inProgressDownloadJobId()
      Get the inProgressDownloadJobId property: The job ID of the download job in progress.
      Returns:
      the inProgressDownloadJobId value.
    • inProgressInstallJobId

      public String inProgressInstallJobId()
      Get the inProgressInstallJobId property: The job ID of the install job in progress.
      Returns:
      the inProgressInstallJobId value.
    • inProgressDownloadJobStartedDateTime

      public OffsetDateTime inProgressDownloadJobStartedDateTime()
      Get the inProgressDownloadJobStartedDateTime property: The time when the currently running download (if any) started.
      Returns:
      the inProgressDownloadJobStartedDateTime value.
    • inProgressInstallJobStartedDateTime

      public OffsetDateTime inProgressInstallJobStartedDateTime()
      Get the inProgressInstallJobStartedDateTime property: The time when the currently running install (if any) started.
      Returns:
      the inProgressInstallJobStartedDateTime value.
    • updateTitles

      public List<String> updateTitles()
      Get the updateTitles property: The list of updates available for install.
      Returns:
      the updateTitles value.
    • totalUpdateSizeInBytes

      public Double totalUpdateSizeInBytes()
      Get the totalUpdateSizeInBytes property: The total size of updates available for download in bytes.
      Returns:
      the totalUpdateSizeInBytes value.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ArmBaseModel
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.