StructuredPojo
, ToCopyableBuilder<ContainerOverrides.Builder,ContainerOverrides>
@Generated("software.amazon.awssdk:codegen") public class ContainerOverrides extends Object implements StructuredPojo, ToCopyableBuilder<ContainerOverrides.Builder,ContainerOverrides>
The overrides that should be sent to a container.
Modifier and Type | Class | Description |
---|---|---|
static interface |
ContainerOverrides.Builder |
Modifier and Type | Method | Description |
---|---|---|
static ContainerOverrides.Builder |
builder() |
|
List<String> |
command() |
The command to send to the container that overrides the default command from the Docker image or the job
definition.
|
List<KeyValuePair> |
environment() |
The environment variables to send to the container.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
Integer |
memory() |
The number of MiB of memory reserved for the job.
|
static Class<? extends ContainerOverrides.Builder> |
serializableBuilderClass() |
|
ContainerOverrides.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
Integer |
vcpus() |
The number of vCPUs to reserve for the container.
|
public Integer vcpus()
The number of vCPUs to reserve for the container. This value overrides the value set in the job definition.
public Integer memory()
The number of MiB of memory reserved for the job. This value overrides the value set in the job definition.
public List<String> command()
The command to send to the container that overrides the default command from the Docker image or the job definition.
public List<KeyValuePair> environment()
The environment variables to send to the container. 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.
public ContainerOverrides.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ContainerOverrides.Builder,ContainerOverrides>
public static ContainerOverrides.Builder builder()
public static Class<? extends ContainerOverrides.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.