次の方法で共有


CopyProgress Class

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

Implements

public class CopyProgress
implements JsonSerializable<CopyProgress>

Copy progress.

Constructor Summary

Constructor Description
CopyProgress()

Creates an instance of CopyProgress class.

Method Summary

Modifier and Type Method and Description
String accountId()

Get the accountId property: Id of the account where the data needs to be uploaded.

List<CustomerResolutionCode> actions()

Get the actions property: Available actions on the job.

Long bytesProcessed()

Get the bytesProcessed property: To indicate bytes transferred.

DataAccountType dataAccountType()

Get the dataAccountType property: Data Account Type.

Long directoriesErroredOut()

Get the directoriesErroredOut property: To indicate directories errored out in the job.

CloudError error()

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

Long filesErroredOut()

Get the filesErroredOut property: Number of files which could not be copied.

Long filesProcessed()

Get the filesProcessed property: Number of files processed.

static CopyProgress fromJson(JsonReader jsonReader)

Reads an instance of CopyProgress from the JsonReader.

Long invalidDirectoriesProcessed()

Get the invalidDirectoriesProcessed property: To indicate directories renamed.

Long invalidFileBytesUploaded()

Get the invalidFileBytesUploaded property: Total amount of data not adhering to azure naming conventions which were processed by automatic renaming.

Long invalidFilesProcessed()

Get the invalidFilesProcessed property: Number of files not adhering to azure naming conventions which were processed by automatic renaming.

Boolean isEnumerationInProgress()

Get the isEnumerationInProgress property: To indicate if enumeration of data is in progress.

Long renamedContainerCount()

Get the renamedContainerCount property: Number of folders not adhering to azure naming conventions which were processed by automatic renaming.

String storageAccountName()

Get the storageAccountName property: Name of the storage account.

JsonWriter toJson(JsonWriter jsonWriter)
Long totalBytesToProcess()

Get the totalBytesToProcess property: Total amount of data to be processed by the job.

Long totalFilesToProcess()

Get the totalFilesToProcess property: Total files to process.

TransferType transferType()

Get the transferType property: Transfer type of data.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

CopyProgress

public CopyProgress()

Creates an instance of CopyProgress class.

Method Details

accountId

public String accountId()

Get the accountId property: Id of the account where the data needs to be uploaded.

Returns:

the accountId value.

actions

public List<CustomerResolutionCode> actions()

Get the actions property: Available actions on the job.

Returns:

the actions value.

bytesProcessed

public Long bytesProcessed()

Get the bytesProcessed property: To indicate bytes transferred.

Returns:

the bytesProcessed value.

dataAccountType

public DataAccountType dataAccountType()

Get the dataAccountType property: Data Account Type.

Returns:

the dataAccountType value.

directoriesErroredOut

public Long directoriesErroredOut()

Get the directoriesErroredOut property: To indicate directories errored out in the job.

Returns:

the directoriesErroredOut value.

error

public CloudError error()

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

Returns:

the error value.

filesErroredOut

public Long filesErroredOut()

Get the filesErroredOut property: Number of files which could not be copied.

Returns:

the filesErroredOut value.

filesProcessed

public Long filesProcessed()

Get the filesProcessed property: Number of files processed.

Returns:

the filesProcessed value.

fromJson

public static CopyProgress fromJson(JsonReader jsonReader)

Reads an instance of CopyProgress from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

invalidDirectoriesProcessed

public Long invalidDirectoriesProcessed()

Get the invalidDirectoriesProcessed property: To indicate directories renamed.

Returns:

the invalidDirectoriesProcessed value.

invalidFileBytesUploaded

public Long invalidFileBytesUploaded()

Get the invalidFileBytesUploaded property: Total amount of data not adhering to azure naming conventions which were processed by automatic renaming.

Returns:

the invalidFileBytesUploaded value.

invalidFilesProcessed

public Long invalidFilesProcessed()

Get the invalidFilesProcessed property: Number of files not adhering to azure naming conventions which were processed by automatic renaming.

Returns:

the invalidFilesProcessed value.

isEnumerationInProgress

public Boolean isEnumerationInProgress()

Get the isEnumerationInProgress property: To indicate if enumeration of data is in progress. Until this is true, the TotalBytesToProcess may not be valid.

Returns:

the isEnumerationInProgress value.

renamedContainerCount

public Long renamedContainerCount()

Get the renamedContainerCount property: Number of folders not adhering to azure naming conventions which were processed by automatic renaming.

Returns:

the renamedContainerCount value.

storageAccountName

public String storageAccountName()

Get the storageAccountName property: Name of the storage account. This will be empty for data account types other than storage account.

Returns:

the storageAccountName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

totalBytesToProcess

public Long totalBytesToProcess()

Get the totalBytesToProcess property: Total amount of data to be processed by the job.

Returns:

the totalBytesToProcess value.

totalFilesToProcess

public Long totalFilesToProcess()

Get the totalFilesToProcess property: Total files to process.

Returns:

the totalFilesToProcess value.

transferType

public TransferType transferType()

Get the transferType property: Transfer type of data.

Returns:

the transferType value.

validate

public void validate()

Validates the instance.

Applies to