PageBlobCreateOptions Class
- java.
lang. Object - com.
azure. storage. blob. options. PageBlobCreateOptions
- com.
public class PageBlobCreateOptions
Extended options that may be passed when creating a Page Blob.
Constructor Summary
Constructor | Description | |
---|---|---|
PageBlobCreateOptions(long size) |
Method Summary
Modifier and Type | Method and Description |
---|---|
Blob |
getHeaders() |
Blob |
getImmutabilityPolicy() |
Map<String,String> | getMetadata() |
Blob |
getRequestConditions() |
Long | getSequenceNumber() |
long | getSize() |
Map<String,String> | getTags() |
Boolean | isLegalHold() |
Page |
setHeaders(BlobHttpHeaders headers) |
Page |
setImmutabilityPolicy(BlobImmutabilityPolicy immutabilityPolicy)
Note that this parameter is only applicable to a blob within a container that has immutable storage with versioning enabled. |
Page |
setLegalHold(Boolean legalHold)
Note that this parameter is only applicable to a blob within a container that has immutable storage with versioning enabled. |
Page |
setMetadata(Map<String,String> metadata) |
Page |
setRequestConditions(BlobRequestConditions requestConditions) |
Page |
setSequenceNumber(Long sequenceNumber) |
Page |
setTags(Map<String,String> tags) |
Methods inherited from java.lang.Object
Constructor Details
PageBlobCreateOptions
public PageBlobCreateOptions(long size)
Parameters:
Method Details
getHeaders
getImmutabilityPolicy
getMetadata
public Map
Returns:
getRequestConditions
getSequenceNumber
public Long getSequenceNumber()
Returns:
getSize
public long getSize()
Returns:
getTags
public Map
Returns:
isLegalHold
public Boolean isLegalHold()
Returns:
setHeaders
public PageBlobCreateOptions setHeaders(BlobHttpHeaders headers)
Parameters:
Returns:
AppendBlobCreateOptions
setImmutabilityPolicy
public PageBlobCreateOptions setImmutabilityPolicy(BlobImmutabilityPolicy immutabilityPolicy)
Note that this parameter is only applicable to a blob within a container that has immutable storage with versioning enabled.
Parameters:
Returns:
setLegalHold
public PageBlobCreateOptions setLegalHold(Boolean legalHold)
Note that this parameter is only applicable to a blob within a container that has immutable storage with versioning enabled.
Parameters:
Returns:
setMetadata
public PageBlobCreateOptions setMetadata(Map
Parameters:
Returns:
setRequestConditions
public PageBlobCreateOptions setRequestConditions(BlobRequestConditions requestConditions)
Parameters:
Returns:
setSequenceNumber
public PageBlobCreateOptions setSequenceNumber(Long sequenceNumber)
Parameters:
Returns:
setTags
public PageBlobCreateOptions setTags(Map
Parameters:
Returns: