Package com.oracle.bmc.datascience.model
Class ModelDeployWorkloadConfigurationDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datascience.model.WorkloadConfigurationDetails
-
- com.oracle.bmc.datascience.model.ModelDeployWorkloadConfigurationDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190101") public final class ModelDeployWorkloadConfigurationDetails extends WorkloadConfigurationDetailsThe model deployment workload configuration.
Note: Objects should always be created or deserialized using theModelDeployWorkloadConfigurationDetails.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 theModelDeployWorkloadConfigurationDetails.Builder, which maintain a set of all explicitly set fields calledModelDeployWorkloadConfigurationDetails.Builder.__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModelDeployWorkloadConfigurationDetails.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.datascience.model.WorkloadConfigurationDetails
WorkloadConfigurationDetails.WorkloadType
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModelDeployWorkloadConfigurationDetails.Builderbuilder()Create a new builder.booleanequals(Object o)Map<String,String>getAdditionalConfigurations()The additional configurationsStringgetCmd()The container image run CMD as a list of strings.IntegergetHealthCheckPort()The port on which the container HEALTHCHECK would listen.IntegergetServerPort()The port on which the web server serving the inference is running.inthashCode()ModelDeployWorkloadConfigurationDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Method Detail
-
builder
public static ModelDeployWorkloadConfigurationDetails.Builder builder()
Create a new builder.
-
toBuilder
public ModelDeployWorkloadConfigurationDetails.Builder toBuilder()
-
getCmd
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.
- Returns:
- the value
-
getServerPort
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.
- Returns:
- the value
-
getHealthCheckPort
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.
- Returns:
- the value
-
getAdditionalConfigurations
public Map<String,String> getAdditionalConfigurations()
The additional configurations- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classWorkloadConfigurationDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classWorkloadConfigurationDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classWorkloadConfigurationDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classWorkloadConfigurationDetails
-
-