BlobRestoreParameters Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. BlobRestoreParameters
- com.
Implements
public final class BlobRestoreParameters
implements JsonSerializable<BlobRestoreParameters>
Blob restore parameters.
Constructor Summary
| Constructor | Description |
|---|---|
| BlobRestoreParameters() |
Creates an instance of Blob |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Blob |
blobRanges()
Get the blob |
|
static
Blob |
fromJson(JsonReader jsonReader)
Reads an instance of Blob |
|
Offset |
timeToRestore()
Get the time |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Blob |
withBlobRanges(List<BlobRestoreRange> blobRanges)
Set the blob |
|
Blob |
withTimeToRestore(OffsetDateTime timeToRestore)
Set the time |
Methods inherited from java.lang.Object
Constructor Details
BlobRestoreParameters
public BlobRestoreParameters()
Creates an instance of BlobRestoreParameters class.
Method Details
blobRanges
public List<BlobRestoreRange> blobRanges()
Get the blobRanges property: Blob ranges to restore.
Returns:
fromJson
public static BlobRestoreParameters fromJson(JsonReader jsonReader)
Reads an instance of BlobRestoreParameters from the JsonReader.
Parameters:
Returns:
Throws:
timeToRestore
public OffsetDateTime timeToRestore()
Get the timeToRestore property: Restore blob to the specified time.
Returns:
toJson
validate
public void validate()
Validates the instance.
withBlobRanges
public BlobRestoreParameters withBlobRanges(List<BlobRestoreRange> blobRanges)
Set the blobRanges property: Blob ranges to restore.
Parameters:
Returns:
withTimeToRestore
public BlobRestoreParameters withTimeToRestore(OffsetDateTime timeToRestore)
Set the timeToRestore property: Restore blob to the specified time.
Parameters:
Returns: