Class InferenceContainerProperties
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.InferenceContainerProperties
-
public final class InferenceContainerProperties extends Object
The InferenceContainerProperties model.
-
-
Constructor Summary
Constructors Constructor Description InferenceContainerProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Route
livenessRoute()
Get the livenessRoute property: The route to check the liveness of the inference server container.Route
readinessRoute()
Get the readinessRoute property: The route to check the readiness of the inference server container.Route
scoringRoute()
Get the scoringRoute property: The port to send the scoring requests to, within the inference server container.void
validate()
Validates the instance.InferenceContainerProperties
withLivenessRoute(Route livenessRoute)
Set the livenessRoute property: The route to check the liveness of the inference server container.InferenceContainerProperties
withReadinessRoute(Route readinessRoute)
Set the readinessRoute property: The route to check the readiness of the inference server container.InferenceContainerProperties
withScoringRoute(Route scoringRoute)
Set the scoringRoute property: The port to send the scoring requests to, within the inference server container.
-
-
-
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.
-
-