public java.util.List<KeyValuePair> getEnvironment() {
        if (environment == null) {
            environment = new com.amazonaws.internal.SdkInternalList<KeyValuePair>();
        }
        return environment;
    }
<p>
The environment variables to pass to a container. This parameter maps to <code>Env</code> in the <a
href="https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate">Create a container</a> section of the
<a href="https://docs.docker.com/engine/api/v1.35/">Docker Remote API</a> and the <code>--env</code> option to <a
href="https://docs.docker.com/engine/reference/run/#security-configuration">docker run</a>.
</p>
<important>
<p>
We don't recommend that you use plaintext environment variables for sensitive information, such as credential
data.
</p>
</important>

@return The environment variables to pass to a container. This parameter maps to <code>Env</code> in the <a
        href="https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate">Create a container</a> section
        of the <a href="https://docs.docker.com/engine/api/v1.35/">Docker Remote API</a> and the
        <code>--env</code> option to <a
        href="https://docs.docker.com/engine/reference/run/#security-configuration">docker run</a>.</p>
        <important>
        <p>
        We don't recommend that you use plaintext environment variables for sensitive information, such as
        credential data.
        </p>
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/ContainerDefinition.java