Class IBMCOSConfiguration

java.lang.Object
org.apache.camel.component.ibm.cos.IBMCOSConfiguration
All Implemented Interfaces:
Cloneable

@UriParams public class IBMCOSConfiguration extends Object implements Cloneable
IBM COS component configuration
  • Constructor Details

    • IBMCOSConfiguration

      public IBMCOSConfiguration()
  • Method Details

    • copy

      public IBMCOSConfiguration copy()
    • getBucketName

      public String getBucketName()
    • setBucketName

      public void setBucketName(String bucketName)
      Name of the bucket
    • getCosClient

      public com.ibm.cloud.objectstorage.services.s3.AmazonS3 getCosClient()
    • setCosClient

      public void setCosClient(com.ibm.cloud.objectstorage.services.s3.AmazonS3 cosClient)
      Reference to an IBM COS Client instance in the registry
    • getApiKey

      public String getApiKey()
    • setApiKey

      public void setApiKey(String apiKey)
      IBM Cloud API Key for authentication
    • getServiceInstanceId

      public String getServiceInstanceId()
    • setServiceInstanceId

      public void setServiceInstanceId(String serviceInstanceId)
      IBM COS Service Instance ID (CRN)
    • getEndpointUrl

      public String getEndpointUrl()
    • setEndpointUrl

      public void setEndpointUrl(String endpointUrl)
      IBM COS Endpoint URL (e.g., https://s3.us-south.cloud-object-storage.appdomain.cloud)
    • getLocation

      public String getLocation()
    • setLocation

      public void setLocation(String location)
      IBM COS Location/Region (e.g., us-south, eu-gb)
    • getFileName

      public String getFileName()
    • setFileName

      public void setFileName(String fileName)
      To get the object from the bucket with the given file name
    • getPrefix

      public String getPrefix()
    • setPrefix

      public void setPrefix(String prefix)
      The prefix to use for listing objects
    • getDelimiter

      public String getDelimiter()
    • setDelimiter

      public void setDelimiter(String delimiter)
      The delimiter to use for listing objects
    • isDeleteAfterRead

      public boolean isDeleteAfterRead()
    • setDeleteAfterRead

      public void setDeleteAfterRead(boolean deleteAfterRead)
      Delete the object from IBM COS after it has been retrieved
    • isMoveAfterRead

      public boolean isMoveAfterRead()
    • setMoveAfterRead

      public void setMoveAfterRead(boolean moveAfterRead)
      Move the object to a different bucket after it has been retrieved
    • getDestinationBucket

      public String getDestinationBucket()
    • setDestinationBucket

      public void setDestinationBucket(String destinationBucket)
      The destination bucket to move objects to
    • getDestinationBucketPrefix

      public String getDestinationBucketPrefix()
    • setDestinationBucketPrefix

      public void setDestinationBucketPrefix(String destinationBucketPrefix)
      The prefix to add to objects in the destination bucket
    • getDestinationBucketSuffix

      public String getDestinationBucketSuffix()
    • setDestinationBucketSuffix

      public void setDestinationBucketSuffix(String destinationBucketSuffix)
      The suffix to add to objects in the destination bucket
    • isDeleteAfterWrite

      public boolean isDeleteAfterWrite()
    • setDeleteAfterWrite

      public void setDeleteAfterWrite(boolean deleteAfterWrite)
      Delete the object from the local filesystem after uploading
    • isMultiPartUpload

      public boolean isMultiPartUpload()
    • setMultiPartUpload

      public void setMultiPartUpload(boolean multiPartUpload)
      Use multi-part upload for large files
    • getPartSize

      public long getPartSize()
    • setPartSize

      public void setPartSize(long partSize)
      Part size for multi-part uploads (default 25MB)
    • getStorageClass

      public String getStorageClass()
    • setStorageClass

      public void setStorageClass(String storageClass)
      The storage class to use when storing objects (e.g., STANDARD, VAULT, COLD, FLEX)
    • isIncludeBody

      public boolean isIncludeBody()
    • setIncludeBody

      public void setIncludeBody(boolean includeBody)
      Include the object body in the exchange
    • getOperation

      public IBMCOSOperations getOperation()
    • setOperation

      public void setOperation(IBMCOSOperations operation)
      The operation to perform
    • isAutocloseBody

      public boolean isAutocloseBody()
    • setAutocloseBody

      public void setAutocloseBody(boolean autocloseBody)
      Whether to automatically close the object input stream after processing
    • isAutoCreateBucket

      public boolean isAutoCreateBucket()
    • setAutoCreateBucket

      public void setAutoCreateBucket(boolean autoCreateBucket)
      Automatically create the bucket if it doesn't exist
    • getKeyName

      public String getKeyName()
    • setKeyName

      public void setKeyName(String keyName)
      The key name for the object
    • isIncludeFolders

      public boolean isIncludeFolders()
    • setIncludeFolders

      public void setIncludeFolders(boolean includeFolders)
      Include folders/directories when listing objects