@Generated(value="OracleSDKGenerator", comments="API Version: 20190101") public final class ModelDeployWorkloadConfigurationDetails extends WorkloadConfigurationDetails
The model deployment workload configuration.
Note: Objects should always be created or deserialized using the ModelDeployWorkloadConfigurationDetails.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 ModelDeployWorkloadConfigurationDetails.Builder
, which maintain a
set of all explicitly set fields called ModelDeployWorkloadConfigurationDetails.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 |
ModelDeployWorkloadConfigurationDetails.Builder |
WorkloadConfigurationDetails.WorkloadType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ModelDeployWorkloadConfigurationDetails(String cmd,
Integer serverPort,
Integer healthCheckPort,
Map<String,String> additionalConfigurations)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ModelDeployWorkloadConfigurationDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Map<String,String> |
getAdditionalConfigurations()
The additional configurations
|
String |
getCmd()
The container image run CMD as a
list of strings.
|
Integer |
getHealthCheckPort()
The port on which the container
HEALTHCHECK would listen.
|
Integer |
getServerPort()
The port on which the web server serving the inference is running.
|
int |
hashCode() |
ModelDeployWorkloadConfigurationDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
public static ModelDeployWorkloadConfigurationDetails.Builder builder()
Create a new builder.
public ModelDeployWorkloadConfigurationDetails.Builder toBuilder()
public 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 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> getAdditionalConfigurations()
The additional configurations
public String toString()
toString
in class WorkloadConfigurationDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class WorkloadConfigurationDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class WorkloadConfigurationDetails
public int hashCode()
hashCode
in class WorkloadConfigurationDetails
Copyright © 2016–2025. All rights reserved.