BlobCopyFromUrlOptions Class
- java.
lang. Object - com.
azure. storage. blob. options. BlobCopyFromUrlOptions
- com.
public class BlobCopyFromUrlOptions
Extended options that may be passed when copying a blob.
Constructor Summary
Constructor | Description | |
---|---|---|
BlobCopyFromUrlOptions(String copySource) |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
BlobCopyFromUrlOptions
public BlobCopyFromUrlOptions(String copySource)
Parameters:
Method Details
getCopySource
public String getCopySource()
Returns:
getCopySourceTagsMode
public BlobCopySourceTagsMode getCopySourceTagsMode()
Returns:
getDestinationRequestConditions
public BlobRequestConditions getDestinationRequestConditions()
Returns:
getImmutabilityPolicy
getMetadata
public Map
Returns:
getSourceAuthorization
public HttpAuthorization getSourceAuthorization()
Returns:
getSourceRequestConditions
getTags
public Map
Returns:
getTier
hasLegalHold
public Boolean hasLegalHold()
Returns:
setCopySourceTagsMode
public BlobCopyFromUrlOptions setCopySourceTagsMode(BlobCopySourceTagsMode copySourceTags)
Sets the copy source tags mode
Parameters:
Returns:
setDestinationRequestConditions
public BlobCopyFromUrlOptions setDestinationRequestConditions(BlobRequestConditions destinationRequestConditions)
Parameters:
Returns:
setImmutabilityPolicy
public BlobCopyFromUrlOptions 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 BlobCopyFromUrlOptions 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 BlobCopyFromUrlOptions setMetadata(Map
Parameters:
Returns:
setSourceAuthorization
public BlobCopyFromUrlOptions setSourceAuthorization(HttpAuthorization sourceAuthorization)
Sets "Authorization" header for accessing source URL. Currently only "Bearer" authentication is accepted by Storage.
Parameters:
Returns:
setSourceRequestConditions
public BlobCopyFromUrlOptions setSourceRequestConditions(RequestConditions sourceRequestConditions)
Parameters:
Returns:
setTags
public BlobCopyFromUrlOptions setTags(Map
Parameters:
Returns:
setTier
public BlobCopyFromUrlOptions setTier(AccessTier tier)
Parameters:
Returns:
Applies to
Azure SDK for Java