Class RefreshDetails

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

public final class RefreshDetails extends Object
Fields for tracking refresh job on the share or container.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of RefreshDetails class.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    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.
    Get the lastJob property: Indicates the id of the last refresh job on this particular share or container,if any.
    void
    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.
    Set the lastJob property: Indicates the id of the last refresh job on this particular share or container,if any.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RefreshDetails

      public RefreshDetails()
      Creates an instance of RefreshDetails class.
  • Method Details

    • 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.
    • 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.
    • 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.
    • 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

      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.
    • 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.
    • 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.
    • 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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.