Class BlobRestoreParameters
java.lang.Object
com.azure.resourcemanager.storage.models.BlobRestoreParameters
Blob restore parameters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the blobRanges property: Blob ranges to restore.Get the timeToRestore property: Restore blob to the specified time.voidvalidate()Validates the instance.withBlobRanges(List<BlobRestoreRange> blobRanges) Set the blobRanges property: Blob ranges to restore.withTimeToRestore(OffsetDateTime timeToRestore) Set the timeToRestore property: Restore blob to the specified time.
-
Constructor Details
-
BlobRestoreParameters
public BlobRestoreParameters()Creates an instance of BlobRestoreParameters class.
-
-
Method Details
-
timeToRestore
Get the timeToRestore property: Restore blob to the specified time.- Returns:
- the timeToRestore value.
-
withTimeToRestore
Set the timeToRestore property: Restore blob to the specified time.- Parameters:
timeToRestore- the timeToRestore value to set.- Returns:
- the BlobRestoreParameters object itself.
-
blobRanges
Get the blobRanges property: Blob ranges to restore.- Returns:
- the blobRanges value.
-
withBlobRanges
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.
-