Package com.oracle.bmc.datascience.model
Class OcirContainerJobEnvironmentConfigurationDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datascience.model.JobEnvironmentConfigurationDetails
-
- com.oracle.bmc.datascience.model.OcirContainerJobEnvironmentConfigurationDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190101") public final class OcirContainerJobEnvironmentConfigurationDetails extends JobEnvironmentConfigurationDetails
Environment configuration based on container image stored in OCI Container Registry.
Note: Objects should always be created or deserialized using theOcirContainerJobEnvironmentConfigurationDetails.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 theOcirContainerJobEnvironmentConfigurationDetails.Builder
, which maintain a set of all explicitly set fields calledOcirContainerJobEnvironmentConfigurationDetails.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 class
OcirContainerJobEnvironmentConfigurationDetails.Builder
-
Nested classes/interfaces inherited from class com.oracle.bmc.datascience.model.JobEnvironmentConfigurationDetails
JobEnvironmentConfigurationDetails.JobEnvironmentType
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OcirContainerJobEnvironmentConfigurationDetails.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.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.String
getImageSignatureId()
OCID of the container image signatureint
hashCode()
OcirContainerJobEnvironmentConfigurationDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Method Detail
-
builder
public static OcirContainerJobEnvironmentConfigurationDetails.Builder builder()
Create a new builder.
-
toBuilder
public OcirContainerJobEnvironmentConfigurationDetails.Builder toBuilder()
-
getImage
public String getImage()
The full path to the Oracle Container Repository (OCIR) registry, image, and tag in a canonical format.Acceptable format:
.ocir.io/ / : .ocir.io/ / : @digest - Returns:
- the value
-
getCmd
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.
- Returns:
- the value
-
getEntrypoint
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.
- Returns:
- the value
-
getImageDigest
public String getImageDigest()
The digest of the container image.For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
- Returns:
- the value
-
getImageSignatureId
public String getImageSignatureId()
OCID of the container image signature- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classJobEnvironmentConfigurationDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classJobEnvironmentConfigurationDetails
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classJobEnvironmentConfigurationDetails
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classJobEnvironmentConfigurationDetails
-
-