@Stability(value=Experimental) @Internal public static final class BatchContainerOverrides.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BatchContainerOverrides
BatchContainerOverridessoftware.amazon.jsii.JsiiObject.InitializationModeBatchContainerOverrides.Builder, BatchContainerOverrides.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,
Size memory,
Number vcpus)
Constructor that initializes the object based on literal property values passed by the
BatchContainerOverrides.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.
|
Size |
getMemory()
(experimental) 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, Size memory, Number vcpus)
BatchContainerOverrides.Builder.public final List<String> getCommand()
BatchContainerOverridesDefault: - No command overrides
getCommand in interface BatchContainerOverridespublic final Map<String,String> getEnvironment()
BatchContainerOverridesYou 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 BatchContainerOverridespublic final Number getGpuCount()
BatchContainerOverridesThe 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 BatchContainerOverridespublic final InstanceType getInstanceType()
BatchContainerOverridesThis parameter is not valid for single-node container jobs.
Default: - No instance type overrides
getInstanceType in interface BatchContainerOverridespublic final Size getMemory()
BatchContainerOverridesDefault: - No memory overrides. The memory supplied in the job definition will be used.
getMemory in interface BatchContainerOverridespublic final Number getVcpus()
BatchContainerOverridesThis value overrides the value set in the job definition.
Default: - No vCPUs overrides
getVcpus in interface BatchContainerOverrides@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.