Class RefreshDetails
java.lang.Object
com.azure.resourcemanager.databoxedge.models.RefreshDetails
Fields for tracking refresh job on the share or container.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the errorManifestFile property: Indicates the relative path of the error xml for the last refresh job on this particular share or container, if any.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.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.lastJob()
Get the lastJob property: Indicates the id of the last refresh job on this particular share or container,if any.void
validate()
Validates the instance.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.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.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.withLastJob
(String lastJob) Set the lastJob property: Indicates the id of the last refresh job on this particular share or container,if any.
-
Constructor Details
-
RefreshDetails
public RefreshDetails()Creates an instance of RefreshDetails class.
-
-
Method Details
-
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.
-
withInProgressRefreshJobId
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.
-
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.
-
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.
-
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.
-
withErrorManifestFile
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.
-
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.
-
withLastJob
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-