Interface KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointBuilder
- Enclosing interface:
- KubernetesPodsEndpointBuilderFactory
public static interface KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the Kubernetes Pods component.
-
-
Method Summary
-
-
-
Method Detail
-
advanced
default KubernetesPodsEndpointBuilderFactory.AdvancedKubernetesPodsEndpointConsumerBuilder advanced()
-
apiVersion
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder apiVersion(String apiVersion)
The Kubernetes API Version to use. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
apiVersion
- the value to set- Returns:
- the dsl builder
-
dnsDomain
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder dnsDomain(String dnsDomain)
The dns domain, used for ServiceCall EIP. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
dnsDomain
- the value to set- Returns:
- the dsl builder
-
kubernetesClient
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder kubernetesClient(io.fabric8.kubernetes.client.KubernetesClient kubernetesClient)
Default KubernetesClient to use if provided. The option is a: <code>io.fabric8.kubernetes.client.KubernetesClient</code> type. Group: common- Parameters:
kubernetesClient
- the value to set- Returns:
- the dsl builder
-
kubernetesClient
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder kubernetesClient(String kubernetesClient)
Default KubernetesClient to use if provided. The option will be converted to a <code>io.fabric8.kubernetes.client.KubernetesClient</code> type. Group: common- Parameters:
kubernetesClient
- the value to set- Returns:
- the dsl builder
-
portName
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder portName(String portName)
The port name, used for ServiceCall EIP. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
portName
- the value to set- Returns:
- the dsl builder
-
portProtocol
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder portProtocol(String portProtocol)
The port protocol, used for ServiceCall EIP. The option is a: <code>java.lang.String</code> type. Default: tcp Group: common- Parameters:
portProtocol
- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a: <code>boolean</code> type. Default: false Group: consumer- Parameters:
bridgeErrorHandler
- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer- Parameters:
bridgeErrorHandler
- the value to set- Returns:
- the dsl builder
-
crdGroup
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder crdGroup(String crdGroup)
The Consumer CRD Resource Group we would like to watch. The option is a: <code>java.lang.String</code> type. Group: consumer- Parameters:
crdGroup
- the value to set- Returns:
- the dsl builder
-
crdName
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder crdName(String crdName)
The Consumer CRD Resource name we would like to watch. The option is a: <code>java.lang.String</code> type. Group: consumer- Parameters:
crdName
- the value to set- Returns:
- the dsl builder
-
crdPlural
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder crdPlural(String crdPlural)
The Consumer CRD Resource Plural we would like to watch. The option is a: <code>java.lang.String</code> type. Group: consumer- Parameters:
crdPlural
- the value to set- Returns:
- the dsl builder
-
crdScope
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder crdScope(String crdScope)
The Consumer CRD Resource Scope we would like to watch. The option is a: <code>java.lang.String</code> type. Group: consumer- Parameters:
crdScope
- the value to set- Returns:
- the dsl builder
-
crdVersion
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder crdVersion(String crdVersion)
The Consumer CRD Resource Version we would like to watch. The option is a: <code>java.lang.String</code> type. Group: consumer- Parameters:
crdVersion
- the value to set- Returns:
- the dsl builder
-
labelKey
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder labelKey(String labelKey)
The Consumer Label key when watching at some resources. The option is a: <code>java.lang.String</code> type. Group: consumer- Parameters:
labelKey
- the value to set- Returns:
- the dsl builder
-
labelValue
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder labelValue(String labelValue)
The Consumer Label value when watching at some resources. The option is a: <code>java.lang.String</code> type. Group: consumer- Parameters:
labelValue
- the value to set- Returns:
- the dsl builder
-
namespace
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder namespace(String namespace)
The namespace. The option is a: <code>java.lang.String</code> type. Group: consumer- Parameters:
namespace
- the value to set- Returns:
- the dsl builder
-
poolSize
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder poolSize(int poolSize)
The Consumer pool size. The option is a: <code>int</code> type. Default: 1 Group: consumer- Parameters:
poolSize
- the value to set- Returns:
- the dsl builder
-
poolSize
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder poolSize(String poolSize)
The Consumer pool size. The option will be converted to a <code>int</code> type. Default: 1 Group: consumer- Parameters:
poolSize
- the value to set- Returns:
- the dsl builder
-
resourceName
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder resourceName(String resourceName)
The Consumer Resource Name we would like to watch. The option is a: <code>java.lang.String</code> type. Group: consumer- Parameters:
resourceName
- the value to set- Returns:
- the dsl builder
-
caCertData
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder caCertData(String caCertData)
The CA Cert Data. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
caCertData
- the value to set- Returns:
- the dsl builder
-
caCertFile
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder caCertFile(String caCertFile)
The CA Cert File. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
caCertFile
- the value to set- Returns:
- the dsl builder
-
clientCertData
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder clientCertData(String clientCertData)
The Client Cert Data. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
clientCertData
- the value to set- Returns:
- the dsl builder
-
clientCertFile
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder clientCertFile(String clientCertFile)
The Client Cert File. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
clientCertFile
- the value to set- Returns:
- the dsl builder
-
clientKeyAlgo
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder clientKeyAlgo(String clientKeyAlgo)
The Key Algorithm used by the client. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
clientKeyAlgo
- the value to set- Returns:
- the dsl builder
-
clientKeyData
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder clientKeyData(String clientKeyData)
The Client Key data. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
clientKeyData
- the value to set- Returns:
- the dsl builder
-
clientKeyFile
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder clientKeyFile(String clientKeyFile)
The Client Key file. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
clientKeyFile
- the value to set- Returns:
- the dsl builder
-
clientKeyPassphrase
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder clientKeyPassphrase(String clientKeyPassphrase)
The Client Key Passphrase. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
clientKeyPassphrase
- the value to set- Returns:
- the dsl builder
-
oauthToken
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder oauthToken(String oauthToken)
The Auth Token. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
oauthToken
- the value to set- Returns:
- the dsl builder
-
password
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder password(String password)
Password to connect to Kubernetes. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
password
- the value to set- Returns:
- the dsl builder
-
trustCerts
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder trustCerts(Boolean trustCerts)
Define if the certs we used are trusted anyway or not. The option is a: <code>java.lang.Boolean</code> type. Group: security- Parameters:
trustCerts
- the value to set- Returns:
- the dsl builder
-
trustCerts
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder trustCerts(String trustCerts)
Define if the certs we used are trusted anyway or not. The option will be converted to a <code>java.lang.Boolean</code> type. Group: security- Parameters:
trustCerts
- the value to set- Returns:
- the dsl builder
-
username
default KubernetesPodsEndpointBuilderFactory.KubernetesPodsEndpointConsumerBuilder username(String username)
Username to connect to Kubernetes. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
username
- the value to set- Returns:
- the dsl builder
-
-