public class ListBlobRegionsOptions extends BlobServiceOptions
listBlobRegions request. These options include an optional server timeout
for the operation, the lease ID if the blob has an active lease, the snapshot
timestamp to get the valid page ranges of a snapshot, the start offset and/or
end offset to use to narrow the returned valid page range results, and any
access conditions for the request.| Constructor and Description |
|---|
ListBlobRegionsOptions() |
| Modifier and Type | Method and Description |
|---|---|
com.microsoft.windowsazure.core.utils.AccessConditionHeader |
getAccessCondition()
Gets the access conditions set in this
ListBlobRegionsOptions
instance. |
String |
getLeaseId()
Gets the lease ID to match for the blob set in this
ListBlobRegionsOptions instance. |
Long |
getRangeEnd()
Gets the ending byte offset value for the valid page ranges to return set
in this
ListBlobRegionsOptions instance. |
Long |
getRangeStart()
Gets the beginning byte offset value of the valid page ranges to return
set in this
ListBlobRegionsOptions instance. |
String |
getSnapshot()
Gets the snapshot timestamp value set in this
ListBlobRegionsOptions instance. |
ListBlobRegionsOptions |
setAccessCondition(com.microsoft.windowsazure.core.utils.AccessConditionHeader accessCondition)
Sets optional access conditions for getting the valid page ranges of the
blob.
|
ListBlobRegionsOptions |
setLeaseId(String leaseId)
Sets an optional lease ID value to match when getting the valid page
ranges of the blob.
|
ListBlobRegionsOptions |
setRangeEnd(Long rangeEnd)
Sets an optional ending byte offset value of the valid page ranges to
return for the request, inclusive.
|
ListBlobRegionsOptions |
setRangeStart(Long rangeStart)
Sets an optional beginning byte offset value of the valid page ranges to
return for the request, inclusive.
|
ListBlobRegionsOptions |
setSnapshot(String snapshot)
Sets an optional snapshot timestamp value used to identify the particular
snapshot of the blob to get valid page ranges for.
|
ListBlobRegionsOptions |
setTimeout(Integer timeout)
Sets the optional server request timeout value associated with this
ListBlobRegionsOptions instance. |
getTimeoutpublic ListBlobRegionsOptions setTimeout(Integer timeout)
ListBlobRegionsOptions instance.
The timeout value only affects calls made on methods where this
ListBlobRegionsOptions instance is passed as a parameter.
setTimeout in class BlobServiceOptionstimeout - The server request timeout value to set in milliseconds.ListBlobRegionsOptions instance.public String getLeaseId()
ListBlobRegionsOptions instance.String containing the lease ID set, if any.public ListBlobRegionsOptions setLeaseId(String leaseId)
Note that this value only affects calls made on methods where this
ListBlobRegionsOptions instance is passed as a parameter.
leaseId - A String containing the lease ID to set.ListBlobRegionsOptions instance.public String getSnapshot()
ListBlobRegionsOptions instance.String containing the snapshot timestamp value of the
blob snapshot to get valid page ranges for.public ListBlobRegionsOptions setSnapshot(String snapshot)
Note that this value only affects calls made on methods where this
ListBlobRegionsOptions instance is passed as a parameter.
snapshot - A String containing the snapshot timestamp value of
the blob snapshot to get valid page ranges for.ListBlobRegionsOptions instance.public Long getRangeStart()
ListBlobRegionsOptions instance.public ListBlobRegionsOptions setRangeStart(Long rangeStart)
If the range end is not set, the response includes valid page ranges from the rangeStart value to the end of the blob.
Note that this value only affects calls made on methods where this
ListBlobRegionsOptions instance is passed as a parameter.
rangeStart - The beginning offset value in bytes for the valid page ranges
to return, inclusive.ListBlobRegionsOptions instance.public Long getRangeEnd()
ListBlobRegionsOptions instance.public ListBlobRegionsOptions setRangeEnd(Long rangeEnd)
If the range start is not set, this value is ignored and the response includes valid page ranges from the entire blob.
Note that this value only affects calls made on methods where this
ListBlobRegionsOptions instance is passed as a parameter.
rangeEnd - The ending offset value in bytes for the valid page ranges to
return, inclusive.ListBlobRegionsOptions instance.public com.microsoft.windowsazure.core.utils.AccessConditionHeader getAccessCondition()
ListBlobRegionsOptions
instance.AccessCondition containing the access conditions set,
if any.public ListBlobRegionsOptions setAccessCondition(com.microsoft.windowsazure.core.utils.AccessConditionHeader accessCondition)
Note that this value only affects calls made on methods where this
ListBlobRegionsOptions instance is passed as a parameter.
accessCondition - An AccessCondition containing the access conditions to
set.ListBlobRegionsOptions instance./**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/