Class BaJobResponse
java.lang.Object
com.iland.core.web.rest.response.vac.BaJobResponse
- All Implemented Interfaces:
Serializable
Vac Job Response
- Author:
- Nick Kasprzak
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumVAC job bottleneck.static enumVAC job scheduling type.static enumVAC job status.static enumVac job type. -
Constructor Summary
ConstructorsConstructorDescriptionBaJobResponse(String uuid, String name, BaJobResponse.BaJobStatus status, BaJobResponse.BaJobType type, Instant lastRun, Instant endTime, int duration, double processionRate, int avgDuration, double transferredData, BaJobResponse.BaJobBottleneck bottleneck, String serverName, boolean isEnabled, int numberOfProcessedObjects, BaJobResponse.BaJobSchedulingType schedulingType, String companyId, String locationId, String companyUuid) -
Method Summary
Modifier and TypeMethodDescriptionintGets average time taken to complete a job session in seconds.Gets bottleneck in the process of transferring the data from source to target.Gets the company id.Gets the iland company uuid for the VAC jobintGets time taken to complete the latest job session in seconds.Gets date and time when the latest job session finished.Gets date and time when the latest job session started.Gets the location id.getName()Gets name of the job configured in Veeam Backup & Replication.intGets number of VMs protected by the job.doubleGets rate at which VM data was processed during the latest job session in bytes per second (MB/s).Gets type of schedule configured for the job.Gets name of the Veeam Backup & Replication or Veeam Cloud Connect server on which a job was configured.Gets status of the latest job session.doubleGets total amount of data that was transferred to target during the latest job session in MB.getType()Gets veeam Backup & Replication job type.getUuid()booleanIndicates whether a job schedule is enabled.
-
Constructor Details
-
BaJobResponse
public BaJobResponse(String uuid, String name, BaJobResponse.BaJobStatus status, BaJobResponse.BaJobType type, Instant lastRun, Instant endTime, int duration, double processionRate, int avgDuration, double transferredData, BaJobResponse.BaJobBottleneck bottleneck, String serverName, boolean isEnabled, int numberOfProcessedObjects, BaJobResponse.BaJobSchedulingType schedulingType, String companyId, String locationId, String companyUuid)
-
-
Method Details
-
getUuid
-
getName
Gets name of the job configured in Veeam Backup & Replication.- Returns:
- the name
-
getStatus
Gets status of the latest job session.Possible values:
Success Warning Failed Running No Info.
- Returns:
- the status
-
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
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
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
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
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
Gets type of schedule configured for the job.Possible values:
Continuously Periodically Monthly Daily Chained.
- Returns:
- the scheduling type
-
getCompanyId
Gets the company id.- Returns:
- the company id
-
getLocationId
Gets the location id.- Returns:
- the location id
-
getCompanyUuid
Gets the iland company uuid for the VAC job- Returns:
- the company uuid
-