Поделиться через


JobProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.databoxedge.fluent.models.JobProperties

Implements

public final class JobProperties
implements JsonSerializable<JobProperties>

The properties for the job.

Constructor Summary

Constructor Description
JobProperties()

Creates an instance of JobProperties class.

Method Summary

Modifier and Type Method and Description
UpdateOperationStage currentStage()

Get the currentStage property: Current stage of the update operation.

UpdateDownloadProgress downloadProgress()

Get the downloadProgress property: The download progress.

String errorManifestFile()

Get the errorManifestFile property: Local share/remote container relative path to the error manifest file of the refresh.

String folder()

Get the folder property: If only subfolders need to be refreshed, then the subfolder path inside the share or container.

static JobProperties fromJson(JsonReader jsonReader)

Reads an instance of JobProperties from the JsonReader.

UpdateInstallProgress installProgress()

Get the installProgress property: The install progress.

JobType jobType()

Get the jobType property: The type of the job.

String refreshedEntityId()

Get the refreshedEntityId property: ARM ID of the entity that was refreshed.

JsonWriter toJson(JsonWriter jsonWriter)
Integer totalRefreshErrors()

Get the totalRefreshErrors property: Total number of errors encountered during the refresh process.

void validate()

Validates the instance.

JobProperties withFolder(String folder)

Set the folder property: If only subfolders need to be refreshed, then the subfolder path inside the share or container.

Methods inherited from java.lang.Object

Constructor Details

JobProperties

public JobProperties()

Creates an instance of JobProperties class.

Method Details

currentStage

public UpdateOperationStage currentStage()

Get the currentStage property: Current stage of the update operation.

Returns:

the currentStage value.

downloadProgress

public UpdateDownloadProgress downloadProgress()

Get the downloadProgress property: The download progress.

Returns:

the downloadProgress value.

errorManifestFile

public String errorManifestFile()

Get the errorManifestFile property: Local share/remote container relative path to the error manifest file of the refresh.

Returns:

the errorManifestFile value.

folder

public String folder()

Get the folder property: If only subfolders need to be refreshed, then the subfolder path inside the share or container. (The path is empty if there are no subfolders.).

Returns:

the folder value.

fromJson

public static JobProperties fromJson(JsonReader jsonReader)

Reads an instance of JobProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

installProgress

public UpdateInstallProgress installProgress()

Get the installProgress property: The install progress.

Returns:

the installProgress value.

jobType

public JobType jobType()

Get the jobType property: The type of the job.

Returns:

the jobType value.

refreshedEntityId

public String refreshedEntityId()

Get the refreshedEntityId property: ARM ID of the entity that was refreshed.

Returns:

the refreshedEntityId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

totalRefreshErrors

public Integer totalRefreshErrors()

Get the totalRefreshErrors property: Total number of errors encountered during the refresh process.

Returns:

the totalRefreshErrors value.

validate

public void validate()

Validates the instance.

withFolder

public JobProperties withFolder(String folder)

Set the folder property: If only subfolders need to be refreshed, then the subfolder path inside the share or container. (The path is empty if there are no subfolders.).

Parameters:

folder - the folder value to set.

Returns:

the JobProperties object itself.

Applies to