@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchEnvironmentVariable extends Object implements Serializable, Cloneable, StructuredPojo
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 task definition.
Environment variables cannot start with "Batch". This naming convention is reserved for variables that
Batch sets.
| Constructor and Description |
|---|
BatchEnvironmentVariable() |
| Modifier and Type | Method and Description |
|---|---|
BatchEnvironmentVariable |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the key-value pair.
|
String |
getValue()
The value of the key-value pair.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The name of the key-value pair.
|
void |
setValue(String value)
The value of the key-value pair.
|
String |
toString()
Returns a string representation of this object.
|
BatchEnvironmentVariable |
withName(String name)
The name of the key-value pair.
|
BatchEnvironmentVariable |
withValue(String value)
The value of the key-value pair.
|
public void setName(String name)
The name of the key-value pair. For environment variables, this is the name of the environment variable.
name - The name of the key-value pair. For environment variables, this is the name of the environment variable.public String getName()
The name of the key-value pair. For environment variables, this is the name of the environment variable.
public BatchEnvironmentVariable withName(String name)
The name of the key-value pair. For environment variables, this is the name of the environment variable.
name - The name of the key-value pair. For environment variables, this is the name of the environment variable.public void setValue(String value)
The value of the key-value pair. For environment variables, this is the value of the environment variable.
value - The value of the key-value pair. For environment variables, this is the value of the environment variable.public String getValue()
The value of the key-value pair. For environment variables, this is the value of the environment variable.
public BatchEnvironmentVariable withValue(String value)
The value of the key-value pair. For environment variables, this is the value of the environment variable.
value - The value of the key-value pair. For environment variables, this is the value of the environment variable.public String toString()
toString in class ObjectObject.toString()public BatchEnvironmentVariable clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.