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