public static class UpdateOcirModelDeploymentEnvironmentConfigurationDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public UpdateOcirModelDeploymentEnvironmentConfigurationDetails.Builder image(String image)
The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a
canonical format. Acceptable format: <region>.ocir.io/<registry>/<image>:<tag>
<region>.ocir.io/<registry>/<image>:<tag>@digest
image
- the value to setpublic UpdateOcirModelDeploymentEnvironmentConfigurationDetails.Builder imageDigest(String imageDigest)
The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
imageDigest
- the value to setpublic UpdateOcirModelDeploymentEnvironmentConfigurationDetails.Builder cmd(List<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 UpdateOcirModelDeploymentEnvironmentConfigurationDetails.Builder entrypoint(List<String> entrypoint)
The container image run
ENTRYPOINT as a list of
strings. Accept the CMD
as extra arguments. The combined size of CMD
and
ENTRYPOINT
must be less than 2048 bytes. More information on how CMD
and
ENTRYPOINT
interact are
here.
entrypoint
- the value to setpublic UpdateOcirModelDeploymentEnvironmentConfigurationDetails.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 UpdateOcirModelDeploymentEnvironmentConfigurationDetails.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 UpdateOcirModelDeploymentEnvironmentConfigurationDetails.Builder environmentVariables(Map<String,String> environmentVariables)
Environment variables to set for the web server container. The size of envVars must be
less than 2048 bytes. Key should be under 32 characters. Key should contain only letters,
digits and underscore (_) Key should start with a letter. Key should have at least 2
characters. Key should not end with underscore eg. TEST_
Key if added cannot be
empty. Value can be empty. No specific size limits on individual Values. But overall
environment variables is limited to 2048 bytes. Key can’t be reserved Model Deployment
environment variables.
environmentVariables
- the value to setpublic UpdateOcirModelDeploymentEnvironmentConfigurationDetails build()
Copyright © 2016–2024. All rights reserved.