Interface MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
MinioEndpointBuilderFactory.MinioEndpointBuilder
- Enclosing interface:
- MinioEndpointBuilderFactory
public static interface MinioEndpointBuilderFactory.MinioEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the Minio component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
accessKey(String accessKey)
Amazon AWS Secret Access Key or Minio Access Key.default MinioEndpointBuilderFactory.AdvancedMinioEndpointProducerBuilder
advanced()
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
autoCreateBucket(boolean autoCreateBucket)
Setting the autocreation of the bucket if bucket name not exist.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
autoCreateBucket(String autoCreateBucket)
Setting the autocreation of the bucket if bucket name not exist.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
customHttpClient(Object customHttpClient)
Set custom HTTP client for authenticated access.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
customHttpClient(String customHttpClient)
Set custom HTTP client for authenticated access.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
deleteAfterWrite(boolean deleteAfterWrite)
Delete file object after the Minio file has been uploaded.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
deleteAfterWrite(String deleteAfterWrite)
Delete file object after the Minio file has been uploaded.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
endpoint(String endpoint)
Endpoint can be an URL, domain name, IPv4 address or IPv6 address.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
keyName(String keyName)
Setting the key name for an element in the bucket through endpoint parameter.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
minioClient(Object minioClient)
Reference to a Minio Client object in the registry.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
minioClient(String minioClient)
Reference to a Minio Client object in the registry.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
objectLock(boolean objectLock)
Set when creating new bucket.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
objectLock(String objectLock)
Set when creating new bucket.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
operation(String operation)
The operation to do in case the user don't want to do only an upload.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
operation(MinioEndpointBuilderFactory.MinioOperations operation)
The operation to do in case the user don't want to do only an upload.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
pojoRequest(boolean pojoRequest)
If we want to use a POJO request as body or not.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
pojoRequest(String pojoRequest)
If we want to use a POJO request as body or not.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
policy(String policy)
The policy for this queue to set in the method.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
proxyPort(Integer proxyPort)
TCP/IP port number.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
proxyPort(String proxyPort)
TCP/IP port number.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
region(String region)
The region in which Minio client needs to work.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
secretKey(String secretKey)
Amazon AWS Access Key Id or Minio Secret Key.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
secure(boolean secure)
Flag to indicate to use secure connection to minio service or not.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
secure(String secure)
Flag to indicate to use secure connection to minio service or not.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
serverSideEncryption(Object serverSideEncryption)
Server-side encryption.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
serverSideEncryption(String serverSideEncryption)
Server-side encryption.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
serverSideEncryptionCustomerKey(Object serverSideEncryptionCustomerKey)
Server-side encryption for source object while copy/move objects.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
serverSideEncryptionCustomerKey(String serverSideEncryptionCustomerKey)
Server-side encryption for source object while copy/move objects.default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder
storageClass(String storageClass)
The storage class to set in the request.
-
-
-
Method Detail
-
advanced
default MinioEndpointBuilderFactory.AdvancedMinioEndpointProducerBuilder advanced()
-
autoCreateBucket
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder autoCreateBucket(boolean autoCreateBucket)
Setting the autocreation of the bucket if bucket name not exist. The option is a:boolean
type. Default: true Group: common
-
autoCreateBucket
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder autoCreateBucket(String autoCreateBucket)
Setting the autocreation of the bucket if bucket name not exist. The option will be converted to aboolean
type. Default: true Group: common
-
customHttpClient
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder customHttpClient(Object customHttpClient)
Set custom HTTP client for authenticated access. The option is a:okhttp3.OkHttpClient
type. Group: common
-
customHttpClient
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder customHttpClient(String customHttpClient)
Set custom HTTP client for authenticated access. The option will be converted to aokhttp3.OkHttpClient
type. Group: common
-
endpoint
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder endpoint(String endpoint)
Endpoint can be an URL, domain name, IPv4 address or IPv6 address. The option is a:java.lang.String
type. Group: common
-
minioClient
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder minioClient(Object minioClient)
Reference to a Minio Client object in the registry. The option is a:io.minio.MinioClient
type. Group: common
-
minioClient
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder minioClient(String minioClient)
Reference to a Minio Client object in the registry. The option will be converted to aio.minio.MinioClient
type. Group: common
-
objectLock
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder objectLock(boolean objectLock)
Set when creating new bucket. The option is a:boolean
type. Default: false Group: common
-
objectLock
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder objectLock(String objectLock)
Set when creating new bucket. The option will be converted to aboolean
type. Default: false Group: common
-
policy
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder policy(String policy)
The policy for this queue to set in the method. The option is a:java.lang.String
type. Group: common
-
proxyPort
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder proxyPort(Integer proxyPort)
TCP/IP port number. 80 and 443 are used as defaults for HTTP and HTTPS. The option is a:java.lang.Integer
type. Group: common
-
proxyPort
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder proxyPort(String proxyPort)
TCP/IP port number. 80 and 443 are used as defaults for HTTP and HTTPS. The option will be converted to ajava.lang.Integer
type. Group: common
-
region
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder region(String region)
The region in which Minio client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1). You'll need to use the name Region.EU_WEST_1.id(). The option is a:java.lang.String
type. Group: common
-
secure
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder secure(boolean secure)
Flag to indicate to use secure connection to minio service or not. The option is a:boolean
type. Default: false Group: common
-
secure
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder secure(String secure)
Flag to indicate to use secure connection to minio service or not. The option will be converted to aboolean
type. Default: false Group: common
-
serverSideEncryption
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder serverSideEncryption(Object serverSideEncryption)
Server-side encryption. The option is a:io.minio.ServerSideEncryption
type. Group: common
-
serverSideEncryption
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder serverSideEncryption(String serverSideEncryption)
Server-side encryption. The option will be converted to aio.minio.ServerSideEncryption
type. Group: common
-
serverSideEncryptionCustomerKey
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder serverSideEncryptionCustomerKey(Object serverSideEncryptionCustomerKey)
Server-side encryption for source object while copy/move objects. The option is a:io.minio.ServerSideEncryptionCustomerKey
type. Group: common
-
serverSideEncryptionCustomerKey
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder serverSideEncryptionCustomerKey(String serverSideEncryptionCustomerKey)
Server-side encryption for source object while copy/move objects. The option will be converted to aio.minio.ServerSideEncryptionCustomerKey
type. Group: common
-
deleteAfterWrite
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder deleteAfterWrite(boolean deleteAfterWrite)
Delete file object after the Minio file has been uploaded. The option is a:boolean
type. Default: false Group: producer
-
deleteAfterWrite
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder deleteAfterWrite(String deleteAfterWrite)
Delete file object after the Minio file has been uploaded. The option will be converted to aboolean
type. Default: false Group: producer
-
keyName
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder keyName(String keyName)
Setting the key name for an element in the bucket through endpoint parameter. The option is a:java.lang.String
type. Group: producer
-
lazyStartProducer
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a:boolean
type. Default: false Group: producer
-
lazyStartProducer
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to aboolean
type. Default: false Group: producer
-
operation
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder operation(MinioEndpointBuilderFactory.MinioOperations operation)
The operation to do in case the user don't want to do only an upload. The option is a:org.apache.camel.component.minio.MinioOperations
type. Group: producer
-
operation
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder operation(String operation)
The operation to do in case the user don't want to do only an upload. The option will be converted to aorg.apache.camel.component.minio.MinioOperations
type. Group: producer
-
pojoRequest
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder pojoRequest(boolean pojoRequest)
If we want to use a POJO request as body or not. The option is a:boolean
type. Default: false Group: producer
-
pojoRequest
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder pojoRequest(String pojoRequest)
If we want to use a POJO request as body or not. The option will be converted to aboolean
type. Default: false Group: producer
-
storageClass
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder storageClass(String storageClass)
The storage class to set in the request. The option is a:java.lang.String
type. Group: producer
-
accessKey
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder accessKey(String accessKey)
Amazon AWS Secret Access Key or Minio Access Key. If not set camel will connect to service for anonymous access. The option is a:java.lang.String
type. Group: security
-
secretKey
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder secretKey(String secretKey)
Amazon AWS Access Key Id or Minio Secret Key. If not set camel will connect to service for anonymous access. The option is a:java.lang.String
type. Group: security
-
-