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
Modifier and TypeMethodDescriptionAmazon AWS Secret Access Key or Minio Access Key.advanced()
autoCreateBucket
(boolean autoCreateBucket) Setting the autocreation of the bucket if bucket name not exist.autoCreateBucket
(String autoCreateBucket) Setting the autocreation of the bucket if bucket name not exist.customHttpClient
(String customHttpClient) Set custom HTTP client for authenticated access.customHttpClient
(okhttp3.OkHttpClient customHttpClient) Set custom HTTP client for authenticated access.deleteAfterWrite
(boolean deleteAfterWrite) Delete file object after the Minio file has been uploaded.deleteAfterWrite
(String deleteAfterWrite) Delete file object after the Minio file has been uploaded.Endpoint can be an URL, domain name, IPv4 address or IPv6 address.Setting the key name for an element in the bucket through endpoint parameter.minioClient
(io.minio.MinioClient minioClient) Reference to a Minio Client object in the registry.minioClient
(String minioClient) Reference to a Minio Client object in the registry.objectLock
(boolean objectLock) Set when creating new bucket.objectLock
(String objectLock) Set when creating new bucket.The operation to do in case the user don't want to do only an upload.operation
(org.apache.camel.component.minio.MinioOperations operation) The operation to do in case the user don't want to do only an upload.pojoRequest
(boolean pojoRequest) If we want to use a POJO request as body or not.pojoRequest
(String pojoRequest) If we want to use a POJO request as body or not.The policy for this queue to set in the method.TCP/IP port number.TCP/IP port number.The region in which Minio client needs to work.Amazon AWS Access Key Id or Minio Secret Key.secure
(boolean secure) Flag to indicate to use secure connection to minio service or not.Flag to indicate to use secure connection to minio service or not.serverSideEncryption
(io.minio.ServerSideEncryption serverSideEncryption) Server-side encryption.serverSideEncryption
(String serverSideEncryption) Server-side encryption.serverSideEncryptionCustomerKey
(io.minio.ServerSideEncryptionCustomerKey serverSideEncryptionCustomerKey) Server-side encryption for source object while copy/move objects.serverSideEncryptionCustomerKey
(String serverSideEncryptionCustomerKey) Server-side encryption for source object while copy/move objects.storageClass
(String storageClass) The storage class to set in the request.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
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(okhttp3.OkHttpClient 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
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(io.minio.MinioClient 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
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
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
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
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
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
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
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
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
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(io.minio.ServerSideEncryption 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(io.minio.ServerSideEncryptionCustomerKey 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
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
-
operation
default MinioEndpointBuilderFactory.MinioEndpointProducerBuilder operation(org.apache.camel.component.minio.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
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
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
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
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
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
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
-