public static class ModelDeployWorkloadConfigurationDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ModelDeployWorkloadConfigurationDetails.Builder |
additionalConfigurations(Map<String,String> additionalConfigurations)
The additional configurations
|
ModelDeployWorkloadConfigurationDetails |
build() |
ModelDeployWorkloadConfigurationDetails.Builder |
cmd(String cmd)
The container image run CMD as a
list of strings.
|
ModelDeployWorkloadConfigurationDetails.Builder |
copy(ModelDeployWorkloadConfigurationDetails model) |
ModelDeployWorkloadConfigurationDetails.Builder |
healthCheckPort(Integer healthCheckPort)
The port on which the container
HEALTHCHECK would
listen.
|
ModelDeployWorkloadConfigurationDetails.Builder |
serverPort(Integer serverPort)
The port on which the web server serving the inference is running.
|
public ModelDeployWorkloadConfigurationDetails.Builder cmd(String cmd)
The container image run CMD as a
list of strings. Use CMD
as arguments to the ENTRYPOINT
or the only
command to run in the absence of an ENTRYPOINT
. The combined size of CMD
and ENTRYPOINT
must be less than 2048 bytes.
cmd
- the value to setpublic ModelDeployWorkloadConfigurationDetails.Builder serverPort(Integer serverPort)
The port on which the web server serving the inference is running. The port can be
anything between 1024
and 65535
. The following ports cannot be used
24224
, 8446
, 8447
.
serverPort
- the value to setpublic ModelDeployWorkloadConfigurationDetails.Builder healthCheckPort(Integer healthCheckPort)
The port on which the container
HEALTHCHECK would
listen. The port can be anything between 1024
and 65535
. The following
ports cannot be used 24224
, 8446
, 8447
.
healthCheckPort
- the value to setpublic ModelDeployWorkloadConfigurationDetails.Builder additionalConfigurations(Map<String,String> additionalConfigurations)
The additional configurations
additionalConfigurations
- the value to setpublic ModelDeployWorkloadConfigurationDetails build()
public ModelDeployWorkloadConfigurationDetails.Builder copy(ModelDeployWorkloadConfigurationDetails model)
Copyright © 2016–2025. All rights reserved.