@Generated(value="software.amazon.awssdk:codegen") public final class EcsEnvironmentVariable extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EcsEnvironmentVariable.Builder,EcsEnvironmentVariable>
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. You must also specify a container name.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EcsEnvironmentVariable.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EcsEnvironmentVariable.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the key-value pair.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EcsEnvironmentVariable.Builder> |
serializableBuilderClass() |
EcsEnvironmentVariable.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
The value of the key-value pair.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the key-value pair. For environment variables, this is the name of the environment variable.
public final String value()
The value of the key-value pair. For environment variables, this is the value of the environment variable.
public EcsEnvironmentVariable.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EcsEnvironmentVariable.Builder,EcsEnvironmentVariable>public static EcsEnvironmentVariable.Builder builder()
public static Class<? extends EcsEnvironmentVariable.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.