Interface GoogleCloudStorageEndpointBuilderFactory.GoogleCloudStorageEndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
GoogleCloudStorageEndpointBuilderFactory.GoogleCloudStorageEndpointBuilder
- Enclosing interface:
- GoogleCloudStorageEndpointBuilderFactory
public static interface GoogleCloudStorageEndpointBuilderFactory.GoogleCloudStorageEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the Google Storage component.
-
-
Method Summary
-
-
-
Method Detail
-
advanced
default GoogleCloudStorageEndpointBuilderFactory.AdvancedGoogleCloudStorageEndpointProducerBuilder advanced()
-
autoCreateBucket
default GoogleCloudStorageEndpointBuilderFactory.GoogleCloudStorageEndpointProducerBuilder autoCreateBucket(boolean autoCreateBucket)
Setting the autocreation of the bucket bucketName. The option is a: <code>boolean</code> type. Default: true Group: common- Parameters:
autoCreateBucket
- the value to set- Returns:
- the dsl builder
-
autoCreateBucket
default GoogleCloudStorageEndpointBuilderFactory.GoogleCloudStorageEndpointProducerBuilder autoCreateBucket(String autoCreateBucket)
Setting the autocreation of the bucket bucketName. 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
-
serviceAccountKey
default GoogleCloudStorageEndpointBuilderFactory.GoogleCloudStorageEndpointProducerBuilder serviceAccountKey(String serviceAccountKey)
The Service account key that can be used as credentials for the Storage client. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
serviceAccountKey
- the value to set- Returns:
- the dsl builder
-
storageClass
default GoogleCloudStorageEndpointBuilderFactory.GoogleCloudStorageEndpointProducerBuilder storageClass(com.google.cloud.storage.StorageClass storageClass)
The Cloud Storage class to use when creating the new buckets. The option is a: <code>com.google.cloud.storage.StorageClass</code> type. Default: STANDARD Group: common- Parameters:
storageClass
- the value to set- Returns:
- the dsl builder
-
storageClass
default GoogleCloudStorageEndpointBuilderFactory.GoogleCloudStorageEndpointProducerBuilder storageClass(String storageClass)
The Cloud Storage class to use when creating the new buckets. The option will be converted to a <code>com.google.cloud.storage.StorageClass</code> type. Default: STANDARD Group: common- Parameters:
storageClass
- the value to set- Returns:
- the dsl builder
-
storageClient
default GoogleCloudStorageEndpointBuilderFactory.GoogleCloudStorageEndpointProducerBuilder storageClient(com.google.cloud.storage.Storage storageClient)
The storage client. The option is a: <code>com.google.cloud.storage.Storage</code> type. Group: common- Parameters:
storageClient
- the value to set- Returns:
- the dsl builder
-
storageClient
default GoogleCloudStorageEndpointBuilderFactory.GoogleCloudStorageEndpointProducerBuilder storageClient(String storageClient)
The storage client. The option will be converted to a <code>com.google.cloud.storage.Storage</code> type. Group: common- Parameters:
storageClient
- the value to set- Returns:
- the dsl builder
-
storageLocation
default GoogleCloudStorageEndpointBuilderFactory.GoogleCloudStorageEndpointProducerBuilder storageLocation(String storageLocation)
The Cloud Storage location to use when creating the new buckets. The option is a: <code>java.lang.String</code> type. Default: US-EAST1 Group: common- Parameters:
storageLocation
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default GoogleCloudStorageEndpointBuilderFactory.GoogleCloudStorageEndpointProducerBuilder 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 GoogleCloudStorageEndpointBuilderFactory.GoogleCloudStorageEndpointProducerBuilder 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
-
objectName
default GoogleCloudStorageEndpointBuilderFactory.GoogleCloudStorageEndpointProducerBuilder objectName(String objectName)
The Object name inside the bucket. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
objectName
- the value to set- Returns:
- the dsl builder
-
operation
default GoogleCloudStorageEndpointBuilderFactory.GoogleCloudStorageEndpointProducerBuilder operation(org.apache.camel.component.google.storage.GoogleCloudStorageOperations operation)
Set the operation for the producer. The option is a: <code>org.apache.camel.component.google.storage.GoogleCloudStorageOperations</code> type. Group: producer- Parameters:
operation
- the value to set- Returns:
- the dsl builder
-
operation
default GoogleCloudStorageEndpointBuilderFactory.GoogleCloudStorageEndpointProducerBuilder operation(String operation)
Set the operation for the producer. The option will be converted to a <code>org.apache.camel.component.google.storage.GoogleCloudStorageOperations</code> type. Group: producer- Parameters:
operation
- the value to set- Returns:
- the dsl builder
-
-