Class BlobRestoreParameters

java.lang.Object
com.azure.resourcemanager.storage.models.BlobRestoreParameters

public final class BlobRestoreParameters extends Object
Blob restore parameters.
  • Constructor Details

    • BlobRestoreParameters

      public BlobRestoreParameters()
  • Method Details

    • timeToRestore

      public OffsetDateTime timeToRestore()
      Get the timeToRestore property: Restore blob to the specified time.
      Returns:
      the timeToRestore value.
    • withTimeToRestore

      public BlobRestoreParameters withTimeToRestore(OffsetDateTime timeToRestore)
      Set the timeToRestore property: Restore blob to the specified time.
      Parameters:
      timeToRestore - the timeToRestore value to set.
      Returns:
      the BlobRestoreParameters object itself.
    • blobRanges

      public List<BlobRestoreRange> blobRanges()
      Get the blobRanges property: Blob ranges to restore.
      Returns:
      the blobRanges value.
    • withBlobRanges

      public BlobRestoreParameters withBlobRanges(List<BlobRestoreRange> blobRanges)
      Set the blobRanges property: Blob ranges to restore.
      Parameters:
      blobRanges - the blobRanges value to set.
      Returns:
      the BlobRestoreParameters object itself.
    • validate

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