public static final class ContainerOverrides.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ContainerOverrides
ContainerOverrides
ContainerOverrides.Builder, ContainerOverrides.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.util.List<java.lang.String> |
getCommand()
The command to send to the container that overrides the default command from the Docker image or the job definition.
|
java.util.Map<java.lang.String,java.lang.String> |
getEnvironment()
The environment variables to send to the container.
|
java.lang.Number |
getGpuCount()
The number of physical GPUs to reserve for the container.
|
InstanceType |
getInstanceType()
The instance type to use for a multi-node parallel job.
|
java.lang.Number |
getMemory()
The number of MiB of memory reserved for the job.
|
java.lang.Number |
getVcpus()
The number of vCPUs to reserve for the container.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.util.List<java.lang.String> getCommand()
ContainerOverrides
Default: - No command overrides
getCommand
in interface ContainerOverrides
public final java.util.Map<java.lang.String,java.lang.String> getEnvironment()
ContainerOverrides
You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the job definition.
Default: - No environment overrides
getEnvironment
in interface ContainerOverrides
public final java.lang.Number getGpuCount()
ContainerOverrides
The number of GPUs reserved for all containers in a job should not exceed the number of available GPUs on the compute resource that the job is launched on.
Default: - No GPU reservation
getGpuCount
in interface ContainerOverrides
public final InstanceType getInstanceType()
ContainerOverrides
This parameter is not valid for single-node container jobs.
Default: - No instance type overrides
getInstanceType
in interface ContainerOverrides
public final java.lang.Number getMemory()
ContainerOverrides
This value overrides the value set in the job definition.
Default: - No memory overrides
getMemory
in interface ContainerOverrides
public final java.lang.Number getVcpus()
ContainerOverrides
This value overrides the value set in the job definition.
Default: - No vCPUs overrides
getVcpus
in interface ContainerOverrides
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()