RefreshDetails Class
- java.
lang. Object - com.
azure. resourcemanager. databoxedge. models. RefreshDetails
- com.
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 Refresh |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
errorManifestFile()
Get the error |
|
static
Refresh |
fromJson(JsonReader jsonReader)
Reads an instance of Refresh |
| String |
inProgressRefreshJobId()
Get the in |
|
Offset |
lastCompletedRefreshJobTimeInUtc()
Get the last |
| String |
lastJob()
Get the last |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Refresh |
withErrorManifestFile(String errorManifestFile)
Set the error |
|
Refresh |
withInProgressRefreshJobId(String inProgressRefreshJobId)
Set the in |
|
Refresh |
withLastCompletedRefreshJobTimeInUtc(OffsetDateTime lastCompletedRefreshJobTimeInUtc)
Set the last |
|
Refresh |
withLastJob(String lastJob)
Set the last |
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:
fromJson
public static RefreshDetails fromJson(JsonReader jsonReader)
Reads an instance of RefreshDetails from the JsonReader.
Parameters:
Returns:
Throws:
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:
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:
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:
toJson
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns: