Class BaJobResponse

java.lang.Object
com.iland.core.web.rest.response.vac.BaJobResponse
All Implemented Interfaces:
Serializable

public final class BaJobResponse extends Object implements Serializable
Vac Job Response
Author:
Nick Kasprzak
See Also:
  • Constructor Details

  • Method Details

    • getUuid

      public String getUuid()
    • getName

      public String getName()
      Gets name of the job configured in Veeam Backup & Replication.
      Returns:
      the name
    • getStatus

      public BaJobResponse.BaJobStatus getStatus()
      Gets status of the latest job session.

      Possible values:

      Success Warning Failed Running No Info.

      Returns:
      the status
    • getType

      public BaJobResponse.BaJobType getType()
      Gets veeam Backup & Replication job type.

      Possible values:

      Backup Replication SureBackup Backup Copy File to Tape Backup to Tape Copy SQL Log Backup Job Oracle Log Backup Job Quick Migration SAN Rescan Failover Plan Agent Backup Job (Managed by Agent) Agent Backup Job (Managed by Backup Server) Agent Backup Policy Agent Backup Job Windows Agent Backup Copy

      Returns:
      the type
    • getLastRun

      public Instant getLastRun()
      Gets date and time when the latest job session started. Date and time string is formatted in accordance with ISO 8601.
      Returns:
      the last run
    • getEndTime

      public Instant getEndTime()
      Gets date and time when the latest job session finished. Date and time string is formatted in accordance with ISO 8601.
      Returns:
      the end time
    • getDuration

      public int getDuration()
      Gets time taken to complete the latest job session in seconds.
      Returns:
      the duration
    • getProcessionRate

      public double getProcessionRate()
      Gets rate at which VM data was processed during the latest job session in bytes per second (MB/s).
      Returns:
      the procession rate
    • getAvgDuration

      public int getAvgDuration()
      Gets average time taken to complete a job session in seconds.
      Returns:
      the avg duration
    • getTransferredData

      public double getTransferredData()
      Gets total amount of data that was transferred to target during the latest job session in MB.
      Returns:
      the transferred data
    • getBottleneck

      public BaJobResponse.BaJobBottleneck getBottleneck()
      Gets bottleneck in the process of transferring the data from source to target.

      Possible values:

      Source Proxy Network Target Source WAN accelerator Target WAN accelerator

      Returns:
      the bottleneck
    • getServerName

      public String getServerName()
      Gets name of the Veeam Backup & Replication or Veeam Cloud Connect server on which a job was configured.
      Returns:
      the server name
    • isEnabled

      public boolean isEnabled()
      Indicates whether a job schedule is enabled.
      Returns:
      the boolean
    • getNumberOfProcessedObjects

      public int getNumberOfProcessedObjects()
      Gets number of VMs protected by the job.
      Returns:
      the protected v ms
    • getSchedulingType

      public BaJobResponse.BaJobSchedulingType getSchedulingType()
      Gets type of schedule configured for the job.

      Possible values:

      Continuously Periodically Monthly Daily Chained.

      Returns:
      the scheduling type
    • getCompanyId

      public String getCompanyId()
      Gets the company id.
      Returns:
      the company id
    • getLocationId

      public String getLocationId()
      Gets the location id.
      Returns:
      the location id
    • getCompanyUuid

      public String getCompanyUuid()
      Gets the iland company uuid for the VAC job
      Returns:
      the company uuid