Aracılığıyla paylaş


RefreshDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.databoxedge.models.RefreshDetails

Implements

public final class RefreshDetails
implements JsonSerializable<RefreshDetails>

Fields for tracking refresh job on the share or container.

Constructor Summary

Constructor Description
RefreshDetails()

Creates an instance of RefreshDetails class.

Method Summary

Modifier and Type Method and Description
String errorManifestFile()

Get the errorManifestFile property: Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any.

static RefreshDetails fromJson(JsonReader jsonReader)

Reads an instance of RefreshDetails from the JsonReader.

String inProgressRefreshJobId()

Get the inProgressRefreshJobId property: If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job.

OffsetDateTime lastCompletedRefreshJobTimeInUtc()

Get the lastCompletedRefreshJobTimeInUtc property: Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.

String lastJob()

Get the lastJob property: Indicates the id of the last refresh job on this particular share or container,if any.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RefreshDetails withErrorManifestFile(String errorManifestFile)

Set the errorManifestFile property: Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any.

RefreshDetails withInProgressRefreshJobId(String inProgressRefreshJobId)

Set the inProgressRefreshJobId property: If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job.

RefreshDetails withLastCompletedRefreshJobTimeInUtc(OffsetDateTime lastCompletedRefreshJobTimeInUtc)

Set the lastCompletedRefreshJobTimeInUtc property: Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.

RefreshDetails withLastJob(String lastJob)

Set the lastJob property: Indicates the id of the last refresh job on this particular share or container,if any.

Methods inherited from java.lang.Object

Constructor Details

RefreshDetails

public RefreshDetails()

Creates an instance of RefreshDetails class.

Method Details

errorManifestFile

public String errorManifestFile()

Get the errorManifestFile property: Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job.

Returns:

the errorManifestFile value.

fromJson

public static RefreshDetails fromJson(JsonReader jsonReader)

Reads an instance of RefreshDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

inProgressRefreshJobId

public String inProgressRefreshJobId()

Get the inProgressRefreshJobId property: If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress.

Returns:

the inProgressRefreshJobId value.

lastCompletedRefreshJobTimeInUtc

public OffsetDateTime lastCompletedRefreshJobTimeInUtc()

Get the lastCompletedRefreshJobTimeInUtc property: Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.

Returns:

the lastCompletedRefreshJobTimeInUtc value.

lastJob

public String lastJob()

Get the lastJob property: Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job.

Returns:

the lastJob value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withErrorManifestFile

public RefreshDetails withErrorManifestFile(String errorManifestFile)

Set the errorManifestFile property: Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any. This could be a failed job or a successful job.

Parameters:

errorManifestFile - the errorManifestFile value to set.

Returns:

the RefreshDetails object itself.

withInProgressRefreshJobId

public RefreshDetails withInProgressRefreshJobId(String inProgressRefreshJobId)

Set the inProgressRefreshJobId property: If a refresh job is currently in progress on this share or container, this field indicates the ARM resource ID of that job. The field is empty if no job is in progress.

Parameters:

inProgressRefreshJobId - the inProgressRefreshJobId value to set.

Returns:

the RefreshDetails object itself.

withLastCompletedRefreshJobTimeInUtc

public RefreshDetails withLastCompletedRefreshJobTimeInUtc(OffsetDateTime lastCompletedRefreshJobTimeInUtc)

Set the lastCompletedRefreshJobTimeInUtc property: Indicates the completed time for the last refresh job on this particular share or container, if any.This could be a failed job or a successful job.

Parameters:

lastCompletedRefreshJobTimeInUtc - the lastCompletedRefreshJobTimeInUtc value to set.

Returns:

the RefreshDetails object itself.

withLastJob

public RefreshDetails withLastJob(String lastJob)

Set the lastJob property: Indicates the id of the last refresh job on this particular share or container,if any. This could be a failed job or a successful job.

Parameters:

lastJob - the lastJob value to set.

Returns:

the RefreshDetails object itself.

Applies to