Class BlobRestoreParameters
- java.lang.Object
-
- com.azure.resourcemanager.storage.models.BlobRestoreParameters
-
public final class BlobRestoreParameters extends Object
Blob restore parameters.
-
-
Constructor Summary
Constructors Constructor Description BlobRestoreParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<BlobRestoreRange>blobRanges()Get the blobRanges property: Blob ranges to restore.OffsetDateTimetimeToRestore()Get the timeToRestore property: Restore blob to the specified time.voidvalidate()Validates the instance.BlobRestoreParameterswithBlobRanges(List<BlobRestoreRange> blobRanges)Set the blobRanges property: Blob ranges to restore.BlobRestoreParameterswithTimeToRestore(OffsetDateTime timeToRestore)Set the timeToRestore property: Restore blob to the specified time.
-
-
-
Method Detail
-
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.
-
-