Interface StitchEndpointBuilderFactory.StitchEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- StitchEndpointBuilderFactory
public static interface StitchEndpointBuilderFactory.StitchEndpointBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the Stitch component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default StitchEndpointBuilderFactory.AdvancedStitchEndpointBuilder
advanced()
default StitchEndpointBuilderFactory.StitchEndpointBuilder
keyNames(String keyNames)
A collection of comma separated strings representing the Primary Key fields in the source table.default StitchEndpointBuilderFactory.StitchEndpointBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default StitchEndpointBuilderFactory.StitchEndpointBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default StitchEndpointBuilderFactory.StitchEndpointBuilder
region(String region)
Stitch account region, e.g: europe.default StitchEndpointBuilderFactory.StitchEndpointBuilder
region(org.apache.camel.component.stitch.client.StitchRegion region)
Stitch account region, e.g: europe.default StitchEndpointBuilderFactory.StitchEndpointBuilder
stitchSchema(String stitchSchema)
A schema that describes the record(s).default StitchEndpointBuilderFactory.StitchEndpointBuilder
stitchSchema(org.apache.camel.component.stitch.client.models.StitchSchema stitchSchema)
A schema that describes the record(s).default StitchEndpointBuilderFactory.StitchEndpointBuilder
token(String token)
Stitch access token for the Stitch Import API.
-
-
-
Method Detail
-
advanced
default StitchEndpointBuilderFactory.AdvancedStitchEndpointBuilder advanced()
-
keyNames
default StitchEndpointBuilderFactory.StitchEndpointBuilder keyNames(String keyNames)
A collection of comma separated strings representing the Primary Key fields in the source table. Stitch use these Primary Keys to de-dupe data during loading If not provided, the table will be loaded in an append-only manner. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
keyNames
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default StitchEndpointBuilderFactory.StitchEndpointBuilder 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 StitchEndpointBuilderFactory.StitchEndpointBuilder 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
-
region
default StitchEndpointBuilderFactory.StitchEndpointBuilder region(org.apache.camel.component.stitch.client.StitchRegion region)
Stitch account region, e.g: europe. The option is a: <code>org.apache.camel.component.stitch.client.StitchRegion</code> type. Default: EUROPE Group: producer- Parameters:
region
- the value to set- Returns:
- the dsl builder
-
region
default StitchEndpointBuilderFactory.StitchEndpointBuilder region(String region)
Stitch account region, e.g: europe. The option will be converted to a <code>org.apache.camel.component.stitch.client.StitchRegion</code> type. Default: EUROPE Group: producer- Parameters:
region
- the value to set- Returns:
- the dsl builder
-
stitchSchema
default StitchEndpointBuilderFactory.StitchEndpointBuilder stitchSchema(org.apache.camel.component.stitch.client.models.StitchSchema stitchSchema)
A schema that describes the record(s). The option is a: <code>org.apache.camel.component.stitch.client.models.StitchSchema</code> type. Group: producer- Parameters:
stitchSchema
- the value to set- Returns:
- the dsl builder
-
stitchSchema
default StitchEndpointBuilderFactory.StitchEndpointBuilder stitchSchema(String stitchSchema)
A schema that describes the record(s). The option will be converted to a <code>org.apache.camel.component.stitch.client.models.StitchSchema</code> type. Group: producer- Parameters:
stitchSchema
- the value to set- Returns:
- the dsl builder
-
token
default StitchEndpointBuilderFactory.StitchEndpointBuilder token(String token)
Stitch access token for the Stitch Import API. The option is a: <code>java.lang.String</code> type. Required: true Group: security- Parameters:
token
- the value to set- Returns:
- the dsl builder
-
-