@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails extends Object implements Serializable, Cloneable, StructuredPojo
An environment variable to pass to the container.
Constructor and Description |
---|
AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the environment variable.
|
String |
getValue()
The value of the environment variable.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the environment variable.
|
void |
setValue(String value)
The value of the environment variable.
|
String |
toString()
Returns a string representation of this object.
|
AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails |
withName(String name)
The name of the environment variable.
|
AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails |
withValue(String value)
The value of the environment variable.
|
public AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails()
public void setName(String name)
The name of the environment variable.
name
- The name of the environment variable.public String getName()
The name of the environment variable.
public AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails withName(String name)
The name of the environment variable.
name
- The name of the environment variable.public void setValue(String value)
The value of the environment variable.
value
- The value of the environment variable.public String getValue()
The value of the environment variable.
public AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails withValue(String value)
The value of the environment variable.
value
- The value of the environment variable.public String toString()
toString
in class Object
Object.toString()
public AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.