JobExtendedInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.dataprotection.models.JobExtendedInfo

Implements

public final class JobExtendedInfo
implements JsonSerializable<JobExtendedInfo>

Extended Information about the job.

Method Summary

Modifier and Type Method and Description
Map<String,String> additionalDetails()

Get the additionalDetails property: Job's Additional Details.

String backupInstanceState()

Get the backupInstanceState property: State of the Backup Instance.

Double dataTransferredInBytes()

Get the dataTransferredInBytes property: Number of bytes transferred.

static JobExtendedInfo fromJson(JsonReader jsonReader)

Reads an instance of JobExtendedInfo from the JsonReader.

String recoveryDestination()

Get the recoveryDestination property: Destination where restore is done.

RestoreJobRecoveryPointDetails sourceRecoverPoint()

Get the sourceRecoverPoint property: Details of the Source Recovery Point.

List<JobSubTask> subTasks()

Get the subTasks property: List of Sub Tasks of the job.

RestoreJobRecoveryPointDetails targetRecoverPoint()

Get the targetRecoverPoint property: Details of the Target Recovery Point.

JsonWriter toJson(JsonWriter jsonWriter)
List<UserFacingWarningDetail> warningDetails()

Get the warningDetails property: A List, detailing the warnings related to the job.

Methods inherited from java.lang.Object

Method Details

additionalDetails

public Map<String,String> additionalDetails()

Get the additionalDetails property: Job's Additional Details.

Returns:

the additionalDetails value.

backupInstanceState

public String backupInstanceState()

Get the backupInstanceState property: State of the Backup Instance.

Returns:

the backupInstanceState value.

dataTransferredInBytes

public Double dataTransferredInBytes()

Get the dataTransferredInBytes property: Number of bytes transferred.

Returns:

the dataTransferredInBytes value.

fromJson

public static JobExtendedInfo fromJson(JsonReader jsonReader)

Reads an instance of JobExtendedInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of JobExtendedInfo if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the JobExtendedInfo.

recoveryDestination

public String recoveryDestination()

Get the recoveryDestination property: Destination where restore is done.

Returns:

the recoveryDestination value.

sourceRecoverPoint

public RestoreJobRecoveryPointDetails sourceRecoverPoint()

Get the sourceRecoverPoint property: Details of the Source Recovery Point.

Returns:

the sourceRecoverPoint value.

subTasks

public List<JobSubTask> subTasks()

Get the subTasks property: List of Sub Tasks of the job.

Returns:

the subTasks value.

targetRecoverPoint

public RestoreJobRecoveryPointDetails targetRecoverPoint()

Get the targetRecoverPoint property: Details of the Target Recovery Point.

Returns:

the targetRecoverPoint value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

warningDetails

public List<UserFacingWarningDetail> warningDetails()

Get the warningDetails property: A List, detailing the warnings related to the job.

Returns:

the warningDetails value.

Applies to