Class BlobConfiguration

    • Constructor Detail

      • BlobConfiguration

        public BlobConfiguration()
    • Method Detail

      • getAccountName

        public String getAccountName()
        Azure account name to be used for authentication with azure blob services
      • setAccountName

        public void setAccountName​(String accountName)
      • getContainerName

        public String getContainerName()
        The blob container name
      • setContainerName

        public void setContainerName​(String containerName)
      • getCredentials

        public com.azure.storage.common.StorageSharedKeyCredential getCredentials()
        StorageSharedKeyCredential can be injected to create the azure client, this holds the important authentication information
      • setCredentials

        public void setCredentials​(com.azure.storage.common.StorageSharedKeyCredential credentials)
      • getServiceClient

        public com.azure.storage.blob.BlobServiceClient getServiceClient()
        Client to a storage account. This client does not hold any state about a particular storage account but is instead a convenient way of sending off appropriate requests to the resource on the service. It may also be used to construct URLs to blobs and containers. This client contains operations on a service account. Operations on a container are available on BlobContainerClient through #getBlobContainerClient(String), and operations on a blob are available on BlobClient through {@link #getBlobContainerClient(String).getBlobClient(String)}.
      • setServiceClient

        public void setServiceClient​(com.azure.storage.blob.BlobServiceClient serviceClient)
      • getAccessKey

        public String getAccessKey()
        Access key for the associated azure account name to be used for authentication with azure blob services
      • setAccessKey

        public void setAccessKey​(String accessKey)
      • getOperation

        public BlobOperationsDefinition getOperation()
        The blob operation that can be used with this component on the producer
      • getBlobName

        public String getBlobName()
        The blob name, required for consumer. However on producer, is only required for the operations on the blob level
      • setBlobName

        public void setBlobName​(String blobName)
      • getBlobType

        public BlobType getBlobType()
        The blob type in order to initiate the appropriate settings for each blob type
      • setBlobType

        public void setBlobType​(BlobType blobType)
      • getFileDir

        public String getFileDir()
        The file directory where the downloaded blobs will be saved to, this can be used in both, producer and consumer
      • setFileDir

        public void setFileDir​(String fileDir)
      • getBlobOffset

        public long getBlobOffset()
        Set the blob offset for the upload or download operations, default is 0
      • setBlobOffset

        public void setBlobOffset​(long blobOffset)
      • getDataCount

        public Long getDataCount()
        How many bytes to include in the range. Must be greater than or equal to 0 if specified.
      • setDataCount

        public void setDataCount​(Long dataCount)
      • getMaxRetryRequests

        public int getMaxRetryRequests()
        Specifies the maximum number of additional HTTP Get requests that will be made while reading the data from a response body.
      • setMaxRetryRequests

        public void setMaxRetryRequests​(int maxRetryRequests)
      • isCloseStreamAfterRead

        public boolean isCloseStreamAfterRead()
        Close the stream after read or keep it open, default is true
      • setCloseStreamAfterRead

        public void setCloseStreamAfterRead​(boolean closeStreamAfterRead)
      • isCloseStreamAfterWrite

        public boolean isCloseStreamAfterWrite()
        Close the stream after write or keep it open, default is true
      • setCloseStreamAfterWrite

        public void setCloseStreamAfterWrite​(boolean closeStreamAfterWrite)