Class UpdateSummaryProperties
java.lang.Object
com.azure.resourcemanager.databoxedge.fluent.models.UpdateSummaryProperties
The device update information summary.
-
Constructor Summary
ConstructorDescriptionCreates an instance of UpdateSummaryProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the deviceLastScannedDateTime property: The last time when a scan was done on the device.Get the deviceVersionNumber property: The current version of the device in format: 1.2.17312.13.",.Get the friendlyDeviceVersionName property: The current version of the device in text format.Get the inProgressDownloadJobId property: The job ID of the download job in progress.Get the inProgressDownloadJobStartedDateTime property: The time when the currently running download (if any) started.Get the inProgressInstallJobId property: The job ID of the install job in progress.Get the inProgressInstallJobStartedDateTime property: The time when the currently running install (if any) started.Get the lastCompletedDownloadJobDateTime property: The time when the last Download job was completed (success/cancelled/failed) on the appliance.Get the lastCompletedInstallJobDateTime property: The time when the last Install job was completed (success/cancelled/failed) on the appliance.Get the lastCompletedScanJobDateTime property: The time when the last scan job was completed (success/cancelled/failed) on the appliance.Get the ongoingUpdateOperation property: The current update operation.Get the rebootBehavior property: Indicates if updates are available and at least one of the updates needs a reboot.Get the totalNumberOfUpdatesAvailable property: The number of updates available for the current device version as per the last device scan.Get the totalNumberOfUpdatesPendingDownload property: The total number of items pending download.Get the totalNumberOfUpdatesPendingInstall property: The total number of items pending install.Get the totalUpdateSizeInBytes property: The total size of updates available for download in bytes.Get the updateTitles property: The list of updates available for install.void
validate()
Validates the instance.withDeviceLastScannedDateTime
(OffsetDateTime deviceLastScannedDateTime) Set the deviceLastScannedDateTime property: The last time when a scan was done on the device.withDeviceVersionNumber
(String deviceVersionNumber) Set the deviceVersionNumber property: The current version of the device in format: 1.2.17312.13.",.withFriendlyDeviceVersionName
(String friendlyDeviceVersionName) Set the friendlyDeviceVersionName property: The current version of the device in text format.withLastCompletedScanJobDateTime
(OffsetDateTime lastCompletedScanJobDateTime) Set the lastCompletedScanJobDateTime property: The time when the last scan job was completed (success/cancelled/failed) on the appliance.
-
Constructor Details
-
UpdateSummaryProperties
public UpdateSummaryProperties()Creates an instance of UpdateSummaryProperties class.
-
-
Method Details
-
deviceVersionNumber
Get the deviceVersionNumber property: The current version of the device in format: 1.2.17312.13.",.- Returns:
- the deviceVersionNumber value.
-
withDeviceVersionNumber
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 UpdateSummaryProperties object itself.
-
friendlyDeviceVersionName
Get the friendlyDeviceVersionName property: The current version of the device in text format.- Returns:
- the friendlyDeviceVersionName value.
-
withFriendlyDeviceVersionName
Set the friendlyDeviceVersionName property: The current version of the device in text format.- Parameters:
friendlyDeviceVersionName
- the friendlyDeviceVersionName value to set.- Returns:
- the UpdateSummaryProperties object itself.
-
deviceLastScannedDateTime
Get the deviceLastScannedDateTime property: The last time when a scan was done on the device.- Returns:
- the deviceLastScannedDateTime value.
-
withDeviceLastScannedDateTime
public UpdateSummaryProperties 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 UpdateSummaryProperties object itself.
-
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 UpdateSummaryProperties 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 UpdateSummaryProperties object itself.
-
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
Get the lastCompletedInstallJobDateTime property: The time when the last Install job was completed (success/cancelled/failed) on the appliance.- Returns:
- the lastCompletedInstallJobDateTime value.
-
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
Get the totalNumberOfUpdatesPendingDownload property: The total number of items pending download.- Returns:
- the totalNumberOfUpdatesPendingDownload value.
-
totalNumberOfUpdatesPendingInstall
Get the totalNumberOfUpdatesPendingInstall property: The total number of items pending install.- Returns:
- the totalNumberOfUpdatesPendingInstall value.
-
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
Get the ongoingUpdateOperation property: The current update operation.- Returns:
- the ongoingUpdateOperation value.
-
inProgressDownloadJobId
Get the inProgressDownloadJobId property: The job ID of the download job in progress.- Returns:
- the inProgressDownloadJobId value.
-
inProgressInstallJobId
Get the inProgressInstallJobId property: The job ID of the install job in progress.- Returns:
- the inProgressInstallJobId value.
-
inProgressDownloadJobStartedDateTime
Get the inProgressDownloadJobStartedDateTime property: The time when the currently running download (if any) started.- Returns:
- the inProgressDownloadJobStartedDateTime value.
-
inProgressInstallJobStartedDateTime
Get the inProgressInstallJobStartedDateTime property: The time when the currently running install (if any) started.- Returns:
- the inProgressInstallJobStartedDateTime value.
-
updateTitles
Get the updateTitles property: The list of updates available for install.- Returns:
- the updateTitles value.
-
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.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-