public class CreateBlobPagesOptions extends BlobServiceOptions
com.microsoft.windowsazure.services.blob.BlobContract#createBlobPages(String, String, PageRange, long, java.io.InputStream, CreateBlobPagesOptions)
request. These options include an optional server timeout for the operation,
a blob lease ID to create pages in a blob with an active lease, an optional
MD5 hash for the content, and any access conditions to satisfy.| Constructor and Description |
|---|
CreateBlobPagesOptions() |
| Modifier and Type | Method and Description |
|---|---|
com.microsoft.windowsazure.core.utils.AccessConditionHeader |
getAccessCondition()
Gets the access conditions set in this
CreateBlobPagesOptions
instance. |
String |
getContentMD5()
Gets the MD5 hash value for the page content set in this
CreateBlobPagesOptions instance. |
String |
getLeaseId()
Gets the lease ID to match for the blob set in this
CreateBlobPagesOptions instance. |
CreateBlobPagesOptions |
setAccessCondition(com.microsoft.windowsazure.core.utils.AccessConditionHeader accessCondition)
Sets optional access conditions for getting the blob.
|
CreateBlobPagesOptions |
setContentMD5(String contentMD5)
Sets the optional MD5 hash value for the page content.
|
CreateBlobPagesOptions |
setLeaseId(String leaseId)
Sets an optional lease ID value to match when getting the blob.
|
CreateBlobPagesOptions |
setTimeout(Integer timeout)
Sets the optional server request timeout value associated with this
CreateBlobPagesOptions instance. |
getTimeoutpublic CreateBlobPagesOptions setTimeout(Integer timeout)
CreateBlobPagesOptions instance.
The timeout value only affects calls made on methods where this
CreateBlobPagesOptions instance is passed as a parameter.
setTimeout in class BlobServiceOptionstimeout - The server request timeout value to set in milliseconds.CreateBlobPagesOptions instance.public String getLeaseId()
CreateBlobPagesOptions instance.String containing the lease ID set, if any.public CreateBlobPagesOptions setLeaseId(String leaseId)
Note that this value only affects calls made on methods where this
CreateBlobPagesOptions instance is passed as a parameter.
leaseId - A String containing the lease ID to set.CreateBlobPagesOptions instance.public String getContentMD5()
CreateBlobPagesOptions instance.String containing the MD5 hash value for the block
content set, if any.public CreateBlobPagesOptions setContentMD5(String contentMD5)
Note that this value only affects calls made on methods where this
CreateBlobPagesOptions instance is passed as a parameter.
contentMD5 - A String containing the MD5 hash value for the block
content to set.CreateBlobPagesOptions instance.public com.microsoft.windowsazure.core.utils.AccessConditionHeader getAccessCondition()
CreateBlobPagesOptions
instance.AccessCondition containing the access conditions set,
if any.public CreateBlobPagesOptions setAccessCondition(com.microsoft.windowsazure.core.utils.AccessConditionHeader accessCondition)
Note that this value only affects calls made on methods where this
CreateBlobPagesOptions instance is passed as a parameter.
accessCondition - An AccessCondition containing the access conditions to
set.CreateBlobPagesOptions 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.
*/