BlobBeginCopyOptions Class
- java.
lang. Object - com.
azure. storage. blob. options. BlobBeginCopyOptions
- com.
public class BlobBeginCopyOptions
Extended options that may be passed when beginning a copy operation.
Constructor Summary
Constructor | Description |
---|---|
BlobBeginCopyOptions(String sourceUrl) |
Creates a new instance of BlobBeginCopyOptions. |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
BlobBeginCopyOptions
public BlobBeginCopyOptions(String sourceUrl)
Creates a new instance of BlobBeginCopyOptions.
Parameters:
Method Details
getDestinationRequestConditions
public BlobRequestConditions getDestinationRequestConditions()
Gets the BlobRequestConditions for the destination.
Returns:
getImmutabilityPolicy
public BlobImmutabilityPolicy getImmutabilityPolicy()
Gets the BlobImmutabilityPolicy for the destination blob.
Returns:
getMetadata
public Map
Gets the metadata to associate with the destination blob.
Returns:
getPollInterval
public Duration getPollInterval()
Gets the duration between each poll for the copy status.
Returns:
getRehydratePriority
public RehydratePriority getRehydratePriority()
Gets the RehydratePriority for rehydrating the blob.
Returns:
getSourceRequestConditions
public BlobBeginCopySourceRequestConditions getSourceRequestConditions()
Gets the BlobBeginCopySourceRequestConditions for the source.
Returns:
getSourceUrl
public String getSourceUrl()
Gets the source URL.
Returns:
getTags
public Map
Gets the tags to associate with the blob.
Returns:
getTier
public AccessTier getTier()
Gets the AccessTier for the destination blob.
Returns:
isLegalHold
public Boolean isLegalHold()
Gets if a legal hold should be placed on the blob.
Returns:
isSealDestination
public Boolean isSealDestination()
Gets whether the destination blob should be sealed (marked as read only).
Only applicable for Append Blobs.
Returns:
setDestinationRequestConditions
public BlobBeginCopyOptions setDestinationRequestConditions(BlobRequestConditions destinationRequestConditions)
Sets the BlobRequestConditions for the destination.
Parameters:
Returns:
setImmutabilityPolicy
public BlobBeginCopyOptions setImmutabilityPolicy(BlobImmutabilityPolicy immutabilityPolicy)
Sets the BlobImmutabilityPolicy for the destination blob.
Note that this parameter is only applicable to a blob within a container that has immutable storage with versioning enabled.
Parameters:
Returns:
setLegalHold
public BlobBeginCopyOptions setLegalHold(Boolean legalHold)
Sets if a legal hold should be placed on the blob.
Note that this parameter is only applicable to a blob within a container that has immutable storage with versioning enabled.
Parameters:
Returns:
setMetadata
public BlobBeginCopyOptions setMetadata(Map
Sets the metadata to associate with the destination blob.
Parameters:
Returns:
setPollInterval
public BlobBeginCopyOptions setPollInterval(Duration pollInterval)
Sets the duration between each poll for the copy status.
Parameters:
Returns:
setRehydratePriority
public BlobBeginCopyOptions setRehydratePriority(RehydratePriority rehydratePriority)
Sets the RehydratePriority for rehydrating the blob.
Parameters:
Returns:
setSealDestination
public BlobBeginCopyOptions setSealDestination(Boolean sealDestination)
Sets whether the destination blob should be sealed (marked as read only).
Only applicable for Append Blobs.
Parameters:
Returns:
setSourceRequestConditions
public BlobBeginCopyOptions setSourceRequestConditions(BlobBeginCopySourceRequestConditions sourceRequestConditions)
Sets the BlobBeginCopySourceRequestConditions for the source.
Parameters:
Returns:
setTags
public BlobBeginCopyOptions setTags(Map
Sets the tags to associate with the blob.
Parameters:
Returns:
setTier
public BlobBeginCopyOptions setTier(AccessTier tier)
Sets the AccessTier for the destination blob.
Parameters:
Returns: