Constructor and Description |
---|
BlobConfiguration() |
Modifier and Type | Method and Description |
---|---|
BlobConfiguration |
copy() |
String |
getAccessKey()
Access key for the associated azure account name to be used for authentication with azure blob services
|
String |
getAccountName()
Azure account name to be used for authentication with azure blob services
|
String |
getBlobName()
The blob name, to consume specific blob from a container.
|
long |
getBlobOffset()
Set the blob offset for the upload or download operations, default is 0
|
Long |
getBlobSequenceNumber()
A user-controlled value that you can use to track requests.
|
BlobType |
getBlobType()
The blob type in order to initiate the appropriate settings for each blob type
|
com.azure.storage.blob.models.BlockListType |
getBlockListType()
Specifies which type of blocks to return.
|
String |
getContainerName()
The blob container name
|
com.azure.storage.common.StorageSharedKeyCredential |
getCredentials()
StorageSharedKeyCredential can be injected to create the azure client, this holds the important authentication
information
|
Long |
getDataCount()
How many bytes to include in the range.
|
Long |
getDownloadLinkExpiration()
Override the default expiration (millis) of URL download link.
|
String |
getFileDir()
The file directory where the downloaded blobs will be saved to, this can be used in both, producer and consumer
|
Integer |
getMaxResultsPerPage()
Specifies the maximum number of blobs to return, including all BlobPrefix elements.
|
int |
getMaxRetryRequests()
Specifies the maximum number of additional HTTP Get requests that will be made while reading the data from a
response body.
|
BlobOperationsDefinition |
getOperation()
The blob operation that can be used with this component on the producer
|
Long |
getPageBlobSize()
Specifies the maximum size for the page blob, up to 8 TB.
|
String |
getPrefix()
Filters the results to return only blobs whose names begin with the specified prefix.
|
String |
getRegex()
Filters the results to return only blobs whose names match the specified regular expression.
|
com.azure.storage.blob.BlobServiceClient |
getServiceClient()
Client to a storage account.
|
Duration |
getTimeout()
An optional timeout value beyond which a
RuntimeException will be raised. |
boolean |
isCloseStreamAfterRead()
Close the stream after read or keep it open, default is true
|
boolean |
isCloseStreamAfterWrite()
Close the stream after write or keep it open, default is true
|
boolean |
isCommitBlockListLater()
When is set to `true`, the staged blocks will not be committed directly.
|
boolean |
isCreateAppendBlob()
When is set to `true`, the append blocks will be created when committing append blocks.
|
boolean |
isCreatePageBlob()
When is set to `true`, the page blob will be created when uploading page blob.
|
void |
setAccessKey(String accessKey) |
void |
setAccountName(String accountName) |
void |
setBlobName(String blobName) |
void |
setBlobOffset(long blobOffset) |
void |
setBlobSequenceNumber(Long blobSequenceNumber) |
void |
setBlobType(BlobType blobType) |
void |
setBlockListType(com.azure.storage.blob.models.BlockListType blockListType) |
void |
setCloseStreamAfterRead(boolean closeStreamAfterRead) |
void |
setCloseStreamAfterWrite(boolean closeStreamAfterWrite) |
void |
setCommitBlockListLater(boolean commitBlockListLater) |
void |
setContainerName(String containerName) |
void |
setCreateAppendBlob(boolean createAppendBlob) |
void |
setCreatePageBlob(boolean createPageBlob) |
void |
setCredentials(com.azure.storage.common.StorageSharedKeyCredential credentials) |
void |
setDataCount(Long dataCount) |
void |
setDownloadLinkExpiration(Long downloadLinkExpiration) |
void |
setFileDir(String fileDir) |
void |
setMaxResultsPerPage(Integer maxResultsPerPage) |
void |
setMaxRetryRequests(int maxRetryRequests) |
void |
setOperation(BlobOperationsDefinition operation) |
void |
setPageBlobSize(Long pageBlobSize) |
void |
setPrefix(String prefix) |
void |
setRegex(String regex) |
void |
setServiceClient(com.azure.storage.blob.BlobServiceClient serviceClient) |
void |
setTimeout(Duration timeout) |
public String getAccountName()
public void setAccountName(String accountName)
public String getContainerName()
public void setContainerName(String containerName)
public com.azure.storage.common.StorageSharedKeyCredential getCredentials()
public void setCredentials(com.azure.storage.common.StorageSharedKeyCredential credentials)
public com.azure.storage.blob.BlobServiceClient getServiceClient()
BlobContainerClient
through BlobServiceClient.getBlobContainerClient(String)
, and operations on a
blob are available on BlobClient
through BlobContainerClient.getBlobClient(String)
.public void setServiceClient(com.azure.storage.blob.BlobServiceClient serviceClient)
public String getAccessKey()
public void setAccessKey(String accessKey)
public BlobOperationsDefinition getOperation()
public void setOperation(BlobOperationsDefinition operation)
public String getBlobName()
public void setBlobName(String blobName)
public BlobType getBlobType()
public void setBlobType(BlobType blobType)
public String getFileDir()
public void setFileDir(String fileDir)
public long getBlobOffset()
public void setBlobOffset(long blobOffset)
public Long getDataCount()
public void setDataCount(Long dataCount)
public int getMaxRetryRequests()
public void setMaxRetryRequests(int maxRetryRequests)
public Duration getTimeout()
RuntimeException
will be raised.public void setTimeout(Duration timeout)
public String getPrefix()
public void setPrefix(String prefix)
public Integer getMaxResultsPerPage()
public void setMaxResultsPerPage(Integer maxResultsPerPage)
public boolean isCloseStreamAfterRead()
public void setCloseStreamAfterRead(boolean closeStreamAfterRead)
public boolean isCloseStreamAfterWrite()
public void setCloseStreamAfterWrite(boolean closeStreamAfterWrite)
public Long getPageBlobSize()
public void setPageBlobSize(Long pageBlobSize)
public Long getDownloadLinkExpiration()
public void setDownloadLinkExpiration(Long downloadLinkExpiration)
public boolean isCommitBlockListLater()
public void setCommitBlockListLater(boolean commitBlockListLater)
public boolean isCreateAppendBlob()
public void setCreateAppendBlob(boolean createAppendBlob)
public boolean isCreatePageBlob()
public void setCreatePageBlob(boolean createPageBlob)
public Long getBlobSequenceNumber()
public void setBlobSequenceNumber(Long blobSequenceNumber)
public com.azure.storage.blob.models.BlockListType getBlockListType()
public void setBlockListType(com.azure.storage.blob.models.BlockListType blockListType)
public String getRegex()
public void setRegex(String regex)
public BlobConfiguration copy()
Apache Camel