Class TorchServeEndpointBuilderFactory.TorchServeHeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.TorchServeEndpointBuilderFactory.TorchServeHeaderNameBuilder
- Enclosing interface:
TorchServeEndpointBuilderFactory
The builder of headers' name for the TorchServe component.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe maximum number of items to return for the list operation.The token to retrieve the next set of results for the list operation.Names of metrics to filter.The name of model.The version of model.Additional options for the register operation.Additional options for the scale-worker operation.Additional options for the unregister operation.Model archive download url, support local file or HTTP(s) protocol.
-
Constructor Details
-
TorchServeHeaderNameBuilder
public TorchServeHeaderNameBuilder()
-
-
Method Details
-
torchServeModelName
The name of model. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
TorchServeModelName.
-
torchServeModelVersion
The version of model. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
TorchServeModelVersion.
-
torchServeUrl
Model archive download url, support local file or HTTP(s) protocol. For S3, consider using pre-signed url. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
TorchServeUrl.
-
torchServeRegisterOptions
Additional options for the register operation. The option is a:org.apache.camel.component.torchserve.client.model.RegisterOptionstype. Group: producer- Returns:
- the name of the header
TorchServeRegisterOptions.
-
torchServeScaleWorkerOptions
Additional options for the scale-worker operation. The option is a:org.apache.camel.component.torchserve.client.model.ScaleWorkerOptionstype. Group: producer- Returns:
- the name of the header
TorchServeScaleWorkerOptions.
-
torchServeUnrsegisterOptions
Additional options for the unregister operation. The option is a:org.apache.camel.component.torchserve.client.model.UnregisterOptionstype. Group: producer- Returns:
- the name of the header
TorchServeUnrsegisterOptions.
-
torchServeListLimit
The maximum number of items to return for the list operation. When this value is present, TorchServe does not return more than the specified number of items, but it might return fewer. This value is optional. If you include a value, it must be between 1 and 1000, inclusive. If you do not include a value, it defaults to 100. The option is a:Integertype. Group: producer- Returns:
- the name of the header
TorchServeListLimit.
-
torchServeListNextPageToken
The token to retrieve the next set of results for the list operation. TorchServe provides the token when the response from a previous call has more results than the maximum page size. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
TorchServeListNextPageToken.
-
torchServeMetricsName
Names of metrics to filter. The option is a:Stringtype. Group: producer- Returns:
- the name of the header
TorchServeMetricsName.
-