@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContainerEnvironment extends Object implements Serializable, Cloneable, StructuredPojo
This data type is used with the Amazon GameLift containers feature, which is currently in public preview.
An environment variable to set inside a container, in the form of a key-value pair.
Related data type: ContainerDefinition$Environment
| Constructor and Description |
|---|
ContainerEnvironment() |
| Modifier and Type | Method and Description |
|---|---|
ContainerEnvironment |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The environment variable name.
|
String |
getValue()
The environment variable value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The environment variable name.
|
void |
setValue(String value)
The environment variable value.
|
String |
toString()
Returns a string representation of this object.
|
ContainerEnvironment |
withName(String name)
The environment variable name.
|
ContainerEnvironment |
withValue(String value)
The environment variable value.
|
public void setName(String name)
The environment variable name.
name - The environment variable name.public String getName()
The environment variable name.
public ContainerEnvironment withName(String name)
The environment variable name.
name - The environment variable name.public void setValue(String value)
The environment variable value.
value - The environment variable value.public String getValue()
The environment variable value.
public ContainerEnvironment withValue(String value)
The environment variable value.
value - The environment variable value.public String toString()
toString in class ObjectObject.toString()public ContainerEnvironment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.