AppendBlobAppendBlockFromUrlOptions Class
- java.
lang. Object - com.
azure. storage. blob. options. AppendBlobAppendBlockFromUrlOptions
- com.
public final class AppendBlobAppendBlockFromUrlOptions
Extended options that may be passed when appending a block from a source URL.
Constructor Summary
| Constructor | Description |
|---|---|
| AppendBlobAppendBlockFromUrlOptions(String sourceUrl) |
Creates a new instance of AppendBlobAppendBlockFromUrlOptions. |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
AppendBlobAppendBlockFromUrlOptions
public AppendBlobAppendBlockFromUrlOptions(String sourceUrl)
Creates a new instance of AppendBlobAppendBlockFromUrlOptions.
Parameters:
Method Details
getDestinationRequestConditions
public AppendBlobRequestConditions getDestinationRequestConditions()
Gets the AppendBlobRequestConditions for writing to destination.
Returns:
getSourceAuthorization
public HttpAuthorization getSourceAuthorization()
Gets the auth header for accessing source.
Returns:
getSourceContentMd5
public byte[] getSourceContentMd5()
Gets the MD5 of the source content to be appended.
Returns:
getSourceCustomerProvidedKey
public CustomerProvidedKey getSourceCustomerProvidedKey()
Gets the optional CustomerProvidedKey used for encrypting the source blob. Applicable only for service version 2026-02-06 or later.
Returns:
getSourceRange
public BlobRange getSourceRange()
Gets the range of bytes to read from the source.
Returns:
getSourceRequestConditions
public BlobRequestConditions getSourceRequestConditions()
Gets the BlobRequestConditions for accessing source.
Returns:
getSourceShareTokenIntent
public FileShareTokenIntent getSourceShareTokenIntent()
Optional, only applicable (but required) when the source is Azure Storage Files and using token authentication. Gets the intent of the request.
Returns:
getSourceUrl
public String getSourceUrl()
Gets the source URL to copy from.
Returns:
setDestinationRequestConditions
public AppendBlobAppendBlockFromUrlOptions setDestinationRequestConditions(AppendBlobRequestConditions destinationRequestConditions)
Sets the AppendBlobRequestConditions for writing to destination.
Parameters:
Returns:
setSourceAuthorization
public AppendBlobAppendBlockFromUrlOptions setSourceAuthorization(HttpAuthorization sourceAuthorization)
Sets "Authorization" header for accessing source URL. Currently only "Bearer" authentication is accepted by Storage.
Parameters:
Returns:
setSourceContentMd5
public AppendBlobAppendBlockFromUrlOptions setSourceContentMd5(byte[] sourceContentMd5)
Sets the MD5 of the source content to be appended.
Parameters:
Returns:
setSourceCustomerProvidedKey
public AppendBlobAppendBlockFromUrlOptions setSourceCustomerProvidedKey(CustomerProvidedKey sourceCustomerProvidedKey)
Sets the optional CustomerProvidedKey used for encrypting the source blob. Applicable only for service version 2026-02-06 or later.
Parameters:
Returns:
setSourceRange
public AppendBlobAppendBlockFromUrlOptions setSourceRange(BlobRange sourceRange)
Sets the range of bytes to read from the source.
Parameters:
Returns:
setSourceRequestConditions
public AppendBlobAppendBlockFromUrlOptions setSourceRequestConditions(BlobRequestConditions sourceRequestConditions)
Sets the BlobRequestConditions for accessing source.
Parameters:
Returns:
setSourceShareTokenIntent
public AppendBlobAppendBlockFromUrlOptions setSourceShareTokenIntent(FileShareTokenIntent sourceShareTokenIntent)
Optional, only applicable (but required) when the source is Azure Storage Files and using token authentication. Sets the intent of the request.
Parameters:
Returns: