Class InferenceContainerProperties


  • public final class InferenceContainerProperties
    extends Object
    The InferenceContainerProperties model.
    • Constructor Detail

      • InferenceContainerProperties

        public InferenceContainerProperties()
    • Method Detail

      • livenessRoute

        public Route livenessRoute()
        Get the livenessRoute property: The route to check the liveness of the inference server container.
        Returns:
        the livenessRoute value.
      • withLivenessRoute

        public InferenceContainerProperties withLivenessRoute​(Route livenessRoute)
        Set the livenessRoute property: The route to check the liveness of the inference server container.
        Parameters:
        livenessRoute - the livenessRoute value to set.
        Returns:
        the InferenceContainerProperties object itself.
      • readinessRoute

        public Route readinessRoute()
        Get the readinessRoute property: The route to check the readiness of the inference server container.
        Returns:
        the readinessRoute value.
      • withReadinessRoute

        public InferenceContainerProperties withReadinessRoute​(Route readinessRoute)
        Set the readinessRoute property: The route to check the readiness of the inference server container.
        Parameters:
        readinessRoute - the readinessRoute value to set.
        Returns:
        the InferenceContainerProperties object itself.
      • scoringRoute

        public Route scoringRoute()
        Get the scoringRoute property: The port to send the scoring requests to, within the inference server container.
        Returns:
        the scoringRoute value.
      • withScoringRoute

        public InferenceContainerProperties withScoringRoute​(Route scoringRoute)
        Set the scoringRoute property: The port to send the scoring requests to, within the inference server container.
        Parameters:
        scoringRoute - the scoringRoute value to set.
        Returns:
        the InferenceContainerProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.