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: <code>boolean</code> type. Default: true Group: common- Parameters:
autoCreateBucket
- the value to set- Returns:
- the dsl builder
-
autoCreateBucket
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder autoCreateBucket(String autoCreateBucket)
Setting the autocreation of the bucket if bucket name not exist. The option will be converted to a <code>boolean</code> type. Default: true Group: common- Parameters:
autoCreateBucket
- the value to set- Returns:
- the dsl builder
-
customHttpClient
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder customHttpClient(Object customHttpClient)
Set custom HTTP client for authenticated access. The option is a: <code>okhttp3.OkHttpClient</code> type. Group: common- Parameters:
customHttpClient
- the value to set- Returns:
- the dsl builder
-
customHttpClient
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder customHttpClient(String customHttpClient)
Set custom HTTP client for authenticated access. The option will be converted to a <code>okhttp3.OkHttpClient</code> type. Group: common- Parameters:
customHttpClient
- the value to set- Returns:
- the dsl builder
-
endpoint
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder endpoint(String endpoint)
Endpoint can be an URL, domain name, IPv4 address or IPv6 address. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
endpoint
- the value to set- Returns:
- the dsl builder
-
minioClient
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder minioClient(Object minioClient)
Reference to a Minio Client object in the registry. The option is a: <code>io.minio.MinioClient</code> type. Group: common- Parameters:
minioClient
- the value to set- Returns:
- the dsl builder
-
minioClient
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder minioClient(String minioClient)
Reference to a Minio Client object in the registry. The option will be converted to a <code>io.minio.MinioClient</code> type. Group: common- Parameters:
minioClient
- the value to set- Returns:
- the dsl builder
-
objectLock
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder objectLock(boolean objectLock)
Set when creating new bucket. The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
objectLock
- the value to set- Returns:
- the dsl builder
-
objectLock
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder objectLock(String objectLock)
Set when creating new bucket. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Parameters:
objectLock
- the value to set- Returns:
- the dsl builder
-
policy
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder policy(String policy)
The policy for this queue to set in the method. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
policy
- the value to set- Returns:
- the dsl builder
-
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: <code>java.lang.Integer</code> type. Group: common- Parameters:
proxyPort
- the value to set- Returns:
- the dsl builder
-
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 a <code>java.lang.Integer</code> type. Group: common- Parameters:
proxyPort
- the value to set- Returns:
- the dsl builder
-
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: <code>java.lang.String</code> type. Group: common- Parameters:
region
- the value to set- Returns:
- the dsl builder
-
secure
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder secure(boolean secure)
Flag to indicate to use secure connection to minio service or not. The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
secure
- the value to set- Returns:
- the dsl builder
-
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 a <code>boolean</code> type. Default: false Group: common- Parameters:
secure
- the value to set- Returns:
- the dsl builder
-
serverSideEncryption
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder serverSideEncryption(Object serverSideEncryption)
Server-side encryption. The option is a: <code>io.minio.ServerSideEncryption</code> type. Group: common- Parameters:
serverSideEncryption
- the value to set- Returns:
- the dsl builder
-
serverSideEncryption
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder serverSideEncryption(String serverSideEncryption)
Server-side encryption. The option will be converted to a <code>io.minio.ServerSideEncryption</code> type. Group: common- Parameters:
serverSideEncryption
- the value to set- Returns:
- the dsl builder
-
serverSideEncryptionCustomerKey
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder serverSideEncryptionCustomerKey(Object serverSideEncryptionCustomerKey)
Server-side encryption for source object while copy/move objects. The option is a: <code>io.minio.ServerSideEncryptionCustomerKey</code> type. Group: common- Parameters:
serverSideEncryptionCustomerKey
- the value to set- Returns:
- the dsl builder
-
serverSideEncryptionCustomerKey
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder serverSideEncryptionCustomerKey(String serverSideEncryptionCustomerKey)
Server-side encryption for source object while copy/move objects. The option will be converted to a <code>io.minio.ServerSideEncryptionCustomerKey</code> type. Group: common- Parameters:
serverSideEncryptionCustomerKey
- the value to set- Returns:
- the dsl builder
-
deleteAfterWrite
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder deleteAfterWrite(boolean deleteAfterWrite)
Delete file object after the Minio file has been uploaded. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
deleteAfterWrite
- the value to set- Returns:
- the dsl builder
-
deleteAfterWrite
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder deleteAfterWrite(String deleteAfterWrite)
Delete file object after the Minio file has been uploaded. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
deleteAfterWrite
- the value to set- Returns:
- the dsl builder
-
keyName
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder keyName(String keyName)
Setting the key name for an element in the bucket through endpoint parameter. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
keyName
- the value to set- Returns:
- the dsl builder
-
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: <code>boolean</code> type. Default: false Group: producer- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
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 a <code>boolean</code> type. Default: false Group: producer- Parameters:
lazyStartProducer
- the value to set- Returns:
- the dsl builder
-
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: <code>org.apache.camel.component.minio.MinioOperations</code> type. Group: producer- Parameters:
operation
- the value to set- Returns:
- the dsl builder
-
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 a <code>org.apache.camel.component.minio.MinioOperations</code> type. Group: producer- Parameters:
operation
- the value to set- Returns:
- the dsl builder
-
pojoRequest
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder pojoRequest(boolean pojoRequest)
If we want to use a POJO request as body or not. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
pojoRequest
- the value to set- Returns:
- the dsl builder
-
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 a <code>boolean</code> type. Default: false Group: producer- Parameters:
pojoRequest
- the value to set- Returns:
- the dsl builder
-
storageClass
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder storageClass(String storageClass)
The storage class to set in the request. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
storageClass
- the value to set- Returns:
- the dsl builder
-
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: <code>java.lang.String</code> type. Group: security- Parameters:
accessKey
- the value to set- Returns:
- the dsl builder
-
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: <code>java.lang.String</code> type. Group: security- Parameters:
secretKey
- the value to set- Returns:
- the dsl builder
-
-