Interface KServeEndpointBuilderFactory.KServeEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
KServeEndpointBuilderFactory
public static interface KServeEndpointBuilderFactory.KServeEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the KServe component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
credentials
(io.grpc.ChannelCredentials credentials) The credentials of the client.credentials
(String credentials) The credentials of the client.The name of the model used for inference.modelVersion
(String modelVersion) The version of the model used for inference.The target URI of the client.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
-
modelName
The name of the model used for inference. The option is a:java.lang.String
type. Group: common- Parameters:
modelName
- the value to set- Returns:
- the dsl builder
-
modelVersion
The version of the model used for inference. The option is a:java.lang.String
type. Group: common- Parameters:
modelVersion
- the value to set- Returns:
- the dsl builder
-
target
The target URI of the client. See: https://grpc.github.io/grpc-java/javadoc/io/grpc/Grpc.html#newChannelBuilder%28java.lang.String,io.grpc.ChannelCredentials%29. The option is a:java.lang.String
type. Default: localhost:8001 Group: common- Parameters:
target
- the value to set- Returns:
- the dsl builder
-
credentials
default KServeEndpointBuilderFactory.KServeEndpointBuilder credentials(io.grpc.ChannelCredentials credentials) The credentials of the client. The option is a:io.grpc.ChannelCredentials
type. Group: security- Parameters:
credentials
- the value to set- Returns:
- the dsl builder
-
credentials
The credentials of the client. The option will be converted to aio.grpc.ChannelCredentials
type. Group: security- Parameters:
credentials
- the value to set- Returns:
- the dsl builder
-