Interface DMSEndpointBuilderFactory.DMSEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- DMSEndpointBuilderFactory
public static interface DMSEndpointBuilderFactory.DMSEndpointBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the Huawei Distributed Message Service (DMS) component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default DMSEndpointBuilderFactory.DMSEndpointBuilder
accessKey(String accessKey)
Access key for the cloud user.default DMSEndpointBuilderFactory.DMSEndpointBuilder
accessUser(String accessUser)
The username of a RabbitMQ instance.default DMSEndpointBuilderFactory.DMSEndpointBuilder
availableZones(String availableZones)
The ID of an available zone.default DMSEndpointBuilderFactory.DMSEndpointBuilder
availableZones(List<String> availableZones)
The ID of an available zone.default DMSEndpointBuilderFactory.DMSEndpointBuilder
endpoint(String endpoint)
DMS url.default DMSEndpointBuilderFactory.DMSEndpointBuilder
engine(String engine)
The message engine.default DMSEndpointBuilderFactory.DMSEndpointBuilder
engineVersion(String engineVersion)
The version of the message engine.default DMSEndpointBuilderFactory.DMSEndpointBuilder
ignoreSslVerification(boolean ignoreSslVerification)
Ignore SSL verification.default DMSEndpointBuilderFactory.DMSEndpointBuilder
ignoreSslVerification(String ignoreSslVerification)
Ignore SSL verification.default DMSEndpointBuilderFactory.DMSEndpointBuilder
instanceId(String instanceId)
The id of the instance.default DMSEndpointBuilderFactory.DMSEndpointBuilder
kafkaManagerPassword(String kafkaManagerPassword)
The password for logging in to the Kafka Manager.default DMSEndpointBuilderFactory.DMSEndpointBuilder
kafkaManagerUser(String kafkaManagerUser)
The username for logging in to the Kafka Manager.default DMSEndpointBuilderFactory.DMSEndpointBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default DMSEndpointBuilderFactory.DMSEndpointBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default DMSEndpointBuilderFactory.DMSEndpointBuilder
name(String name)
The name of the instance for creating and updating an instance.default DMSEndpointBuilderFactory.DMSEndpointBuilder
partitionNum(int partitionNum)
The maximum number of partitions in a Kafka instance.default DMSEndpointBuilderFactory.DMSEndpointBuilder
partitionNum(String partitionNum)
The maximum number of partitions in a Kafka instance.default DMSEndpointBuilderFactory.DMSEndpointBuilder
password(String password)
The password of a RabbitMQ instance.default DMSEndpointBuilderFactory.DMSEndpointBuilder
productId(String productId)
The product ID.default DMSEndpointBuilderFactory.DMSEndpointBuilder
projectId(String projectId)
Cloud project ID.default DMSEndpointBuilderFactory.DMSEndpointBuilder
proxyHost(String proxyHost)
Proxy server ip/hostname.default DMSEndpointBuilderFactory.DMSEndpointBuilder
proxyPassword(String proxyPassword)
Proxy authentication password.default DMSEndpointBuilderFactory.DMSEndpointBuilder
proxyPort(int proxyPort)
Proxy server port.default DMSEndpointBuilderFactory.DMSEndpointBuilder
proxyPort(String proxyPort)
Proxy server port.default DMSEndpointBuilderFactory.DMSEndpointBuilder
proxyUser(String proxyUser)
Proxy authentication user.default DMSEndpointBuilderFactory.DMSEndpointBuilder
region(String region)
DMS service region.default DMSEndpointBuilderFactory.DMSEndpointBuilder
secretKey(String secretKey)
Secret key for the cloud user.default DMSEndpointBuilderFactory.DMSEndpointBuilder
securityGroupId(String securityGroupId)
The security group which the instance belongs to.default DMSEndpointBuilderFactory.DMSEndpointBuilder
serviceKeys(Object serviceKeys)
Configuration object for cloud service authentication.default DMSEndpointBuilderFactory.DMSEndpointBuilder
serviceKeys(String serviceKeys)
Configuration object for cloud service authentication.default DMSEndpointBuilderFactory.DMSEndpointBuilder
specification(String specification)
The baseline bandwidth of a Kafka instance.default DMSEndpointBuilderFactory.DMSEndpointBuilder
storageSpace(int storageSpace)
The message storage space.default DMSEndpointBuilderFactory.DMSEndpointBuilder
storageSpace(String storageSpace)
The message storage space.default DMSEndpointBuilderFactory.DMSEndpointBuilder
storageSpecCode(String storageSpecCode)
The storage I/O specification.default DMSEndpointBuilderFactory.DMSEndpointBuilder
subnetId(String subnetId)
The subnet ID.default DMSEndpointBuilderFactory.DMSEndpointBuilder
vpcId(String vpcId)
The VPC ID.
-
-
-
Method Detail
-
accessKey
default DMSEndpointBuilderFactory.DMSEndpointBuilder accessKey(String accessKey)
Access key for the cloud user. The option is a: <code>java.lang.String</code> type. Required: true Group: producer- Parameters:
accessKey
- the value to set- Returns:
- the dsl builder
-
accessUser
default DMSEndpointBuilderFactory.DMSEndpointBuilder accessUser(String accessUser)
The username of a RabbitMQ instance. This option is mandatory when creating a RabbitMQ instance. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
accessUser
- the value to set- Returns:
- the dsl builder
-
availableZones
default DMSEndpointBuilderFactory.DMSEndpointBuilder availableZones(List<String> availableZones)
The ID of an available zone. This option is mandatory when creating an instance and it cannot be an empty array. The option is a: <code>java.util.List<java.lang.String></code> type. Group: producer- Parameters:
availableZones
- the value to set- Returns:
- the dsl builder
-
availableZones
default DMSEndpointBuilderFactory.DMSEndpointBuilder availableZones(String availableZones)
The ID of an available zone. This option is mandatory when creating an instance and it cannot be an empty array. The option will be converted to a <code>java.util.List<java.lang.String></code> type. Group: producer- Parameters:
availableZones
- the value to set- Returns:
- the dsl builder
-
endpoint
default DMSEndpointBuilderFactory.DMSEndpointBuilder endpoint(String endpoint)
DMS url. Carries higher precedence than region parameter based client initialization. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
endpoint
- the value to set- Returns:
- the dsl builder
-
engine
default DMSEndpointBuilderFactory.DMSEndpointBuilder engine(String engine)
The message engine. Either kafka or rabbitmq. If the parameter is not specified, all instances will be queried. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
engine
- the value to set- Returns:
- the dsl builder
-
engineVersion
default DMSEndpointBuilderFactory.DMSEndpointBuilder engineVersion(String engineVersion)
The version of the message engine. This option is mandatory when creating an instance. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
engineVersion
- the value to set- Returns:
- the dsl builder
-
ignoreSslVerification
default DMSEndpointBuilderFactory.DMSEndpointBuilder ignoreSslVerification(boolean ignoreSslVerification)
Ignore SSL verification. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
ignoreSslVerification
- the value to set- Returns:
- the dsl builder
-
ignoreSslVerification
default DMSEndpointBuilderFactory.DMSEndpointBuilder ignoreSslVerification(String ignoreSslVerification)
Ignore SSL verification. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
ignoreSslVerification
- the value to set- Returns:
- the dsl builder
-
instanceId
default DMSEndpointBuilderFactory.DMSEndpointBuilder instanceId(String instanceId)
The id of the instance. This option is mandatory when deleting or querying an instance. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
instanceId
- the value to set- Returns:
- the dsl builder
-
kafkaManagerPassword
default DMSEndpointBuilderFactory.DMSEndpointBuilder kafkaManagerPassword(String kafkaManagerPassword)
The password for logging in to the Kafka Manager. This option is mandatory when creating a Kafka instance. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
kafkaManagerPassword
- the value to set- Returns:
- the dsl builder
-
kafkaManagerUser
default DMSEndpointBuilderFactory.DMSEndpointBuilder kafkaManagerUser(String kafkaManagerUser)
The username for logging in to the Kafka Manager. This option is mandatory when creating a Kafka instance. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
kafkaManagerUser
- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default DMSEndpointBuilderFactory.DMSEndpointBuilder 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 DMSEndpointBuilderFactory.DMSEndpointBuilder 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
-
name
default DMSEndpointBuilderFactory.DMSEndpointBuilder name(String name)
The name of the instance for creating and updating an instance. This option is mandatory when creating an instance. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
name
- the value to set- Returns:
- the dsl builder
-
partitionNum
default DMSEndpointBuilderFactory.DMSEndpointBuilder partitionNum(int partitionNum)
The maximum number of partitions in a Kafka instance. This option is mandatory when creating a Kafka instance. The option is a: <code>int</code> type. Group: producer- Parameters:
partitionNum
- the value to set- Returns:
- the dsl builder
-
partitionNum
default DMSEndpointBuilderFactory.DMSEndpointBuilder partitionNum(String partitionNum)
The maximum number of partitions in a Kafka instance. This option is mandatory when creating a Kafka instance. The option will be converted to a <code>int</code> type. Group: producer- Parameters:
partitionNum
- the value to set- Returns:
- the dsl builder
-
password
default DMSEndpointBuilderFactory.DMSEndpointBuilder password(String password)
The password of a RabbitMQ instance. This option is mandatory when creating a RabbitMQ instance. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
password
- the value to set- Returns:
- the dsl builder
-
productId
default DMSEndpointBuilderFactory.DMSEndpointBuilder productId(String productId)
The product ID. This option is mandatory when creating an instance. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
productId
- the value to set- Returns:
- the dsl builder
-
projectId
default DMSEndpointBuilderFactory.DMSEndpointBuilder projectId(String projectId)
Cloud project ID. The option is a: <code>java.lang.String</code> type. Required: true Group: producer- Parameters:
projectId
- the value to set- Returns:
- the dsl builder
-
proxyHost
default DMSEndpointBuilderFactory.DMSEndpointBuilder proxyHost(String proxyHost)
Proxy server ip/hostname. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
proxyHost
- the value to set- Returns:
- the dsl builder
-
proxyPassword
default DMSEndpointBuilderFactory.DMSEndpointBuilder proxyPassword(String proxyPassword)
Proxy authentication password. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
proxyPassword
- the value to set- Returns:
- the dsl builder
-
proxyPort
default DMSEndpointBuilderFactory.DMSEndpointBuilder proxyPort(int proxyPort)
Proxy server port. The option is a: <code>int</code> type. Group: producer- Parameters:
proxyPort
- the value to set- Returns:
- the dsl builder
-
proxyPort
default DMSEndpointBuilderFactory.DMSEndpointBuilder proxyPort(String proxyPort)
Proxy server port. The option will be converted to a <code>int</code> type. Group: producer- Parameters:
proxyPort
- the value to set- Returns:
- the dsl builder
-
proxyUser
default DMSEndpointBuilderFactory.DMSEndpointBuilder proxyUser(String proxyUser)
Proxy authentication user. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
proxyUser
- the value to set- Returns:
- the dsl builder
-
region
default DMSEndpointBuilderFactory.DMSEndpointBuilder region(String region)
DMS service region. The option is a: <code>java.lang.String</code> type. Required: true Group: producer- Parameters:
region
- the value to set- Returns:
- the dsl builder
-
secretKey
default DMSEndpointBuilderFactory.DMSEndpointBuilder secretKey(String secretKey)
Secret key for the cloud user. The option is a: <code>java.lang.String</code> type. Required: true Group: producer- Parameters:
secretKey
- the value to set- Returns:
- the dsl builder
-
securityGroupId
default DMSEndpointBuilderFactory.DMSEndpointBuilder securityGroupId(String securityGroupId)
The security group which the instance belongs to. This option is mandatory when creating an instance. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
securityGroupId
- the value to set- Returns:
- the dsl builder
-
serviceKeys
default DMSEndpointBuilderFactory.DMSEndpointBuilder serviceKeys(Object serviceKeys)
Configuration object for cloud service authentication. The option is a: <code>org.apache.camel.component.huaweicloud.common.models.ServiceKeys</code> type. Group: producer- Parameters:
serviceKeys
- the value to set- Returns:
- the dsl builder
-
serviceKeys
default DMSEndpointBuilderFactory.DMSEndpointBuilder serviceKeys(String serviceKeys)
Configuration object for cloud service authentication. The option will be converted to a <code>org.apache.camel.component.huaweicloud.common.models.ServiceKeys</code> type. Group: producer- Parameters:
serviceKeys
- the value to set- Returns:
- the dsl builder
-
specification
default DMSEndpointBuilderFactory.DMSEndpointBuilder specification(String specification)
The baseline bandwidth of a Kafka instance. This option is mandatory when creating a Kafka instance. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
specification
- the value to set- Returns:
- the dsl builder
-
storageSpace
default DMSEndpointBuilderFactory.DMSEndpointBuilder storageSpace(int storageSpace)
The message storage space. This option is mandatory when creating an instance. The option is a: <code>int</code> type. Group: producer- Parameters:
storageSpace
- the value to set- Returns:
- the dsl builder
-
storageSpace
default DMSEndpointBuilderFactory.DMSEndpointBuilder storageSpace(String storageSpace)
The message storage space. This option is mandatory when creating an instance. The option will be converted to a <code>int</code> type. Group: producer- Parameters:
storageSpace
- the value to set- Returns:
- the dsl builder
-
storageSpecCode
default DMSEndpointBuilderFactory.DMSEndpointBuilder storageSpecCode(String storageSpecCode)
The storage I/O specification. This option is mandatory when creating an instance. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
storageSpecCode
- the value to set- Returns:
- the dsl builder
-
subnetId
default DMSEndpointBuilderFactory.DMSEndpointBuilder subnetId(String subnetId)
The subnet ID. This option is mandatory when creating an instance. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
subnetId
- the value to set- Returns:
- the dsl builder
-
vpcId
default DMSEndpointBuilderFactory.DMSEndpointBuilder vpcId(String vpcId)
The VPC ID. This option is mandatory when creating an instance. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
vpcId
- the value to set- Returns:
- the dsl builder
-
-