@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 the OcirContainerJobEnvironmentConfigurationDetails.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 OcirContainerJobEnvironmentConfigurationDetails.Builder
, which maintain a
set of all explicitly set fields called OcirContainerJobEnvironmentConfigurationDetails.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 |
OcirContainerJobEnvironmentConfigurationDetails.Builder |
JobEnvironmentConfigurationDetails.JobEnvironmentType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
OcirContainerJobEnvironmentConfigurationDetails(String image,
List<String> cmd,
List<String> entrypoint,
String imageDigest,
String imageSignatureId)
Deprecated.
|
Modifier and Type | Method and 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 signature
|
int |
hashCode() |
OcirContainerJobEnvironmentConfigurationDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
public static OcirContainerJobEnvironmentConfigurationDetails.Builder builder()
Create a new builder.
public OcirContainerJobEnvironmentConfigurationDetails.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 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 String getImageDigest()
The digest of the container image. For example, sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030
public String getImageSignatureId()
OCID of the container image signature
public String toString()
toString
in class JobEnvironmentConfigurationDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class JobEnvironmentConfigurationDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class JobEnvironmentConfigurationDetails
public int hashCode()
hashCode
in class JobEnvironmentConfigurationDetails
Copyright © 2016–2024. All rights reserved.