BlobRestoreRange Class

  • java.lang.Object
    • com.azure.resourcemanager.storage.models.BlobRestoreRange

Implements

public final class BlobRestoreRange
implements JsonSerializable<BlobRestoreRange>

Blob range.

Constructor Summary

Constructor Description
BlobRestoreRange()

Creates an instance of BlobRestoreRange class.

Method Summary

Modifier and Type Method and Description
String endRange()

Get the endRange property: Blob end range.

static BlobRestoreRange fromJson(JsonReader jsonReader)

Reads an instance of BlobRestoreRange from the JsonReader.

String startRange()

Get the startRange property: Blob start range.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

BlobRestoreRange withEndRange(String endRange)

Set the endRange property: Blob end range.

BlobRestoreRange withStartRange(String startRange)

Set the startRange property: Blob start range.

Methods inherited from java.lang.Object

Constructor Details

BlobRestoreRange

public BlobRestoreRange()

Creates an instance of BlobRestoreRange class.

Method Details

endRange

public String endRange()

Get the endRange property: Blob end range. This is exclusive. Empty means account end.

Returns:

the endRange value.

fromJson

public static BlobRestoreRange fromJson(JsonReader jsonReader)

Reads an instance of BlobRestoreRange from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BlobRestoreRange if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

startRange

public String startRange()

Get the startRange property: Blob start range. This is inclusive. Empty means account start.

Returns:

the startRange value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEndRange

public BlobRestoreRange withEndRange(String endRange)

Set the endRange property: Blob end range. This is exclusive. Empty means account end.

Parameters:

endRange - the endRange value to set.

Returns:

the BlobRestoreRange object itself.

withStartRange

public BlobRestoreRange withStartRange(String startRange)

Set the startRange property: Blob start range. This is inclusive. Empty means account start.

Parameters:

startRange - the startRange value to set.

Returns:

the BlobRestoreRange object itself.

Applies to