public class GetBlobMetadataOptions extends BlobServiceOptions
getBlobMetadata 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 properties of a snapshot, and any access conditions for
the request.| Constructor and Description |
|---|
GetBlobMetadataOptions() |
| Modifier and Type | Method and Description |
|---|---|
com.microsoft.windowsazure.core.utils.AccessConditionHeader |
getAccessCondition()
Gets the access conditions set in this
GetBlobMetadataOptions
instance. |
String |
getLeaseId()
Gets the lease ID to match for the blob set in this
GetBlobMetadataOptions instance. |
String |
getSnapshot()
Gets the snapshot timestamp value set in this
GetBlobMetadataOptions instance. |
GetBlobMetadataOptions |
setAccessCondition(com.microsoft.windowsazure.core.utils.AccessConditionHeader accessCondition)
Sets the access conditions for getting the metadata of the blob.
|
GetBlobMetadataOptions |
setLeaseId(String leaseId)
Sets a lease ID value to match when getting the metadata of the blob.
|
GetBlobMetadataOptions |
setSnapshot(String snapshot)
Sets the snapshot timestamp value used to identify the particular
snapshot of the blob to get metadata for.
|
GetBlobMetadataOptions |
setTimeout(Integer timeout)
Sets the optional server request timeout value associated with this
GetBlobMetadataOptions instance. |
getTimeoutpublic GetBlobMetadataOptions setTimeout(Integer timeout)
GetBlobMetadataOptions instance.
The timeout value only affects calls made on methods where this
GetBlobMetadataOptions instance is passed as a parameter.
setTimeout in class BlobServiceOptionstimeout - The server request timeout value to set in milliseconds.GetBlobMetadataOptions instance.public String getSnapshot()
GetBlobMetadataOptions instance.String containing the snapshot timestamp value of the
blob snapshot to get metadata for.public GetBlobMetadataOptions setSnapshot(String snapshot)
Note that this value only affects calls made on methods where this
GetBlobMetadataOptions instance is passed as a parameter.
snapshot - A String containing the snapshot timestamp value of
the blob snapshot to get metadata for.GetBlobMetadataOptions instance.public String getLeaseId()
GetBlobMetadataOptions instance.String containing the lease ID set, if any.public GetBlobMetadataOptions setLeaseId(String leaseId)
Note that this value only affects calls made on methods where this
GetBlobMetadataOptions instance is passed as a parameter.
leaseId - A String containing the lease ID to set.GetBlobMetadataOptions instance.public com.microsoft.windowsazure.core.utils.AccessConditionHeader getAccessCondition()
GetBlobMetadataOptions
instance.AccessCondition containing the access conditions set,
if any.public GetBlobMetadataOptions setAccessCondition(com.microsoft.windowsazure.core.utils.AccessConditionHeader accessCondition)
accessCondition - An AccessCondition containing the access conditions to
set.GetBlobMetadataOptions 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.
*/