@Stability(value=Experimental) @Internal public static final class ContainerOverrides.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ContainerOverrides
ContainerOverridessoftware.amazon.jsii.JsiiObject.InitializationModeContainerOverrides.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.
|
protected |
Jsii$Proxy(List<String> command,
Map<String,String> environment,
Number gpuCount,
InstanceType instanceType,
Number memory,
Number vcpus)
Constructor that initializes the object based on literal property values passed by the
ContainerOverrides.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
List<String> |
getCommand()
(experimental) The command to send to the container that overrides the default command from the Docker image or the job definition.
|
Map<String,String> |
getEnvironment()
(experimental) The environment variables to send to the container.
|
Number |
getGpuCount()
(experimental) The number of physical GPUs to reserve for the container.
|
InstanceType |
getInstanceType()
(experimental) The instance type to use for a multi-node parallel job.
|
Number |
getMemory()
(experimental) The number of MiB of memory reserved for the job.
|
Number |
getVcpus()
(experimental) The number of vCPUs to reserve for the container.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(List<String> command, Map<String,String> environment, Number gpuCount, InstanceType instanceType, Number memory, Number vcpus)
ContainerOverrides.Builder.public final List<String> getCommand()
ContainerOverridesDefault: - No command overrides
getCommand in interface ContainerOverridespublic final Map<String,String> getEnvironment()
ContainerOverridesYou 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 ContainerOverridespublic final Number getGpuCount()
ContainerOverridesThe 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 ContainerOverridespublic final InstanceType getInstanceType()
ContainerOverridesThis parameter is not valid for single-node container jobs.
Default: - No instance type overrides
getInstanceType in interface ContainerOverridespublic final Number getMemory()
ContainerOverridesThis value overrides the value set in the job definition.
Default: - No memory overrides
getMemory in interface ContainerOverridespublic final Number getVcpus()
ContainerOverridesThis value overrides the value set in the job definition.
Default: - No vCPUs overrides
getVcpus in interface ContainerOverrides@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.