@Generated(value="OracleSDKGenerator", comments="API Version: 20190101") public final class OcirModelDeploymentEnvironmentConfigurationDetails extends ModelDeploymentEnvironmentConfigurationDetails
The environment configuration details object for OCI Registry
Note: Objects should always be created or deserialized using the OcirModelDeploymentEnvironmentConfigurationDetails.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the OcirModelDeploymentEnvironmentConfigurationDetails.Builder
, which maintain a
set of all explicitly set fields called OcirModelDeploymentEnvironmentConfigurationDetails.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
OcirModelDeploymentEnvironmentConfigurationDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
OcirModelDeploymentEnvironmentConfigurationDetails(String image,
String imageDigest,
List<String> cmd,
List<String> entrypoint,
Integer serverPort,
Integer healthCheckPort,
Map<String,String> environmentVariables)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static OcirModelDeploymentEnvironmentConfigurationDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<String> |
getCmd()
The container image run CMD as a
list of strings.
|
List<String> |
getEntrypoint()
The container image run
ENTRYPOINT as a list of
strings.
|
Map<String,String> |
getEnvironmentVariables()
Environment variables to set for the web server container.
|
Integer |
getHealthCheckPort()
The port on which the container
HEALTHCHECK would listen.
|
String |
getImage()
The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a
canonical format.
|
String |
getImageDigest()
The digest of the container image.
|
Integer |
getServerPort()
The port on which the web server serving the inference is running.
|
int |
hashCode() |
OcirModelDeploymentEnvironmentConfigurationDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
public static OcirModelDeploymentEnvironmentConfigurationDetails.Builder builder()
Create a new builder.
public OcirModelDeploymentEnvironmentConfigurationDetails.Builder toBuilder()
public String getImage()
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
public String getImageDigest()
The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
public List<String> getCmd()
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.
public List<String> getEntrypoint()
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.
public Integer getServerPort()
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
.
public Integer getHealthCheckPort()
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
.
public Map<String,String> getEnvironmentVariables()
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.
public String toString()
toString
in class ModelDeploymentEnvironmentConfigurationDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class ModelDeploymentEnvironmentConfigurationDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class ModelDeploymentEnvironmentConfigurationDetails
public int hashCode()
hashCode
in class ModelDeploymentEnvironmentConfigurationDetails
Copyright © 2016–2024. All rights reserved.