Share via


DataBoxDiskCopyProgress Class

  • java.lang.Object
    • com.azure.resourcemanager.databox.models.DataBoxDiskCopyProgress

Implements

public final class DataBoxDiskCopyProgress
implements JsonSerializable<DataBoxDiskCopyProgress>

DataBox Disk Copy Progress.

Constructor Summary

Constructor Description
DataBoxDiskCopyProgress()

Creates an instance of DataBoxDiskCopyProgress class.

Method Summary

Modifier and Type Method and Description
List<CustomerResolutionCode> actions()

Get the actions property: Available actions on the job.

Long bytesCopied()

Get the bytesCopied property: Bytes copied during the copy of disk.

CloudError error()

Get the error property: Error, if any, in the stage.

static DataBoxDiskCopyProgress fromJson(JsonReader jsonReader)

Reads an instance of DataBoxDiskCopyProgress from the JsonReader.

Integer percentComplete()

Get the percentComplete property: Indicates the percentage completed for the copy of the disk.

String serialNumber()

Get the serialNumber property: The serial number of the disk.

CopyStatus status()

Get the status property: The Status of the copy.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

DataBoxDiskCopyProgress

public DataBoxDiskCopyProgress()

Creates an instance of DataBoxDiskCopyProgress class.

Method Details

actions

public List<CustomerResolutionCode> actions()

Get the actions property: Available actions on the job.

Returns:

the actions value.

bytesCopied

public Long bytesCopied()

Get the bytesCopied property: Bytes copied during the copy of disk.

Returns:

the bytesCopied value.

error

public CloudError error()

Get the error property: Error, if any, in the stage.

Returns:

the error value.

fromJson

public static DataBoxDiskCopyProgress fromJson(JsonReader jsonReader)

Reads an instance of DataBoxDiskCopyProgress from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DataBoxDiskCopyProgress 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 DataBoxDiskCopyProgress.

percentComplete

public Integer percentComplete()

Get the percentComplete property: Indicates the percentage completed for the copy of the disk.

Returns:

the percentComplete value.

serialNumber

public String serialNumber()

Get the serialNumber property: The serial number of the disk.

Returns:

the serialNumber value.

status

public CopyStatus status()

Get the status property: The Status of the copy.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to