@UriParams public class BlobServiceConfiguration extends AbstractConfiguration
Constructor and Description |
---|
BlobServiceConfiguration() |
Modifier and Type | Method and Description |
---|---|
com.microsoft.azure.storage.blob.CloudBlob |
getAzureBlobClient() |
Map<String,String> |
getBlobMetadata() |
String |
getBlobName() |
Long |
getBlobOffset() |
String |
getBlobPrefix() |
BlobType |
getBlobType() |
String |
getContainerName() |
Long |
getDataLength() |
String |
getFileDir() |
BlobServiceOperations |
getOperation() |
int |
getStreamReadSize() |
int |
getStreamWriteSize() |
boolean |
isCloseStreamAfterRead() |
boolean |
isCloseStreamAfterWrite() |
boolean |
isPublicForRead() |
boolean |
isUseFlatListing() |
void |
setAzureBlobClient(com.microsoft.azure.storage.blob.CloudBlob azureBlobClient)
The blob service client
|
void |
setBlobMetadata(Map<String,String> blobMetadata)
Set the blob meta-data
|
void |
setBlobName(String blobName)
Blob name, required for most operations
|
void |
setBlobOffset(Long dataOffset)
Set the blob offset for the upload or download operations, default is 0
|
void |
setBlobPrefix(String blobPrefix)
Set a prefix which can be used for listing the blobs
|
void |
setBlobType(BlobType blobType)
Set a blob type, 'blockblob' is default
|
void |
setCloseStreamAfterRead(boolean closeStreamAfterRead)
Close the stream after read or keep it open, default is true
|
void |
setCloseStreamAfterWrite(boolean closeStreamAfterWrite)
Close the stream after write or keep it open, default is true
|
void |
setContainerName(String containerName)
Set the blob service container name
|
void |
setDataLength(Long dataLength)
Set the data length for the download or page blob upload operations
|
void |
setFileDir(String fileDir)
Set the file directory where the downloaded blobs will be saved to
|
void |
setOperation(BlobServiceOperations operation)
Blob service operation hint to the producer
|
void |
setPublicForRead(boolean publicForRead)
Storage resources can be public for reading their content, if this property is enabled
then the credentials do not have to be set
|
void |
setStreamReadSize(int streamReadSize)
Set the minimum read size in bytes when reading the blob content
|
void |
setStreamWriteSize(int streamWriteSize)
Set the size of the buffer for writing block and page blocks
|
void |
setUseFlatListing(boolean useFlatListing)
Specify if the flat or hierarchical blob listing should be used
|
getAccountName, getCredentials, setAccountName, setCredentials
public BlobServiceOperations getOperation()
public void setOperation(BlobServiceOperations operation)
public String getContainerName()
public void setContainerName(String containerName)
public String getBlobName()
public void setBlobName(String blobName)
public BlobType getBlobType()
public void setBlobType(BlobType blobType)
public int getStreamWriteSize()
public void setStreamWriteSize(int streamWriteSize)
public int getStreamReadSize()
public void setStreamReadSize(int streamReadSize)
public com.microsoft.azure.storage.blob.CloudBlob getAzureBlobClient()
public void setAzureBlobClient(com.microsoft.azure.storage.blob.CloudBlob azureBlobClient)
public boolean isCloseStreamAfterWrite()
public void setCloseStreamAfterWrite(boolean closeStreamAfterWrite)
public boolean isCloseStreamAfterRead()
public void setCloseStreamAfterRead(boolean closeStreamAfterRead)
public String getFileDir()
public void setFileDir(String fileDir)
public Long getBlobOffset()
public void setBlobOffset(Long dataOffset)
public Long getDataLength()
public void setDataLength(Long dataLength)
public String getBlobPrefix()
public void setBlobPrefix(String blobPrefix)
public boolean isPublicForRead()
public void setPublicForRead(boolean publicForRead)
public boolean isUseFlatListing()
public void setUseFlatListing(boolean useFlatListing)
Apache Camel