Class TorchServeEndpointBuilderFactory.TorchServeHeaderNameBuilder

java.lang.Object
org.apache.camel.builder.endpoint.dsl.TorchServeEndpointBuilderFactory.TorchServeHeaderNameBuilder
Enclosing interface:
TorchServeEndpointBuilderFactory

public static class TorchServeEndpointBuilderFactory.TorchServeHeaderNameBuilder extends Object
The builder of headers' name for the TorchServe component.
  • Constructor Details

    • TorchServeHeaderNameBuilder

      public TorchServeHeaderNameBuilder()
  • Method Details

    • torchServeModelName

      public String torchServeModelName()
      The name of model. The option is a: String type. Group: producer
      Returns:
      the name of the header TorchServeModelName.
    • torchServeModelVersion

      public String torchServeModelVersion()
      The version of model. The option is a: String type. Group: producer
      Returns:
      the name of the header TorchServeModelVersion.
    • torchServeUrl

      public String torchServeUrl()
      Model archive download url, support local file or HTTP(s) protocol. For S3, consider using pre-signed url. The option is a: String type. Group: producer
      Returns:
      the name of the header TorchServeUrl.
    • torchServeRegisterOptions

      public String torchServeRegisterOptions()
      Additional options for the register operation. The option is a: org.apache.camel.component.torchserve.client.model.RegisterOptions type. Group: producer
      Returns:
      the name of the header TorchServeRegisterOptions.
    • torchServeScaleWorkerOptions

      public String torchServeScaleWorkerOptions()
      Additional options for the scale-worker operation. The option is a: org.apache.camel.component.torchserve.client.model.ScaleWorkerOptions type. Group: producer
      Returns:
      the name of the header TorchServeScaleWorkerOptions.
    • torchServeUnrsegisterOptions

      public String torchServeUnrsegisterOptions()
      Additional options for the unregister operation. The option is a: org.apache.camel.component.torchserve.client.model.UnregisterOptions type. Group: producer
      Returns:
      the name of the header TorchServeUnrsegisterOptions.
    • torchServeListLimit

      public String 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: Integer type. Group: producer
      Returns:
      the name of the header TorchServeListLimit.
    • torchServeListNextPageToken

      public String 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: String type. Group: producer
      Returns:
      the name of the header TorchServeListNextPageToken.
    • torchServeMetricsName

      public String torchServeMetricsName()
      Names of metrics to filter. The option is a: String type. Group: producer
      Returns:
      the name of the header TorchServeMetricsName.