public void setEnvironment(java.util.Collection<ContainerEnvironment> environment) {
        if (environment == null) {
            this.environment = null;
            return;
        }

        this.environment = new java.util.ArrayList<ContainerEnvironment>(environment);
    }
<p>
A set of environment variables that's passed to the container on startup. See the <a href=
"https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-environment"
>ContainerDefinition::environment</a> parameter in the <i>Amazon Elastic Container Service API Reference</i>.
</p>

@param environment
       A set of environment variables that's passed to the container on startup. See the <a href=
       "https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html#ECS-Type-ContainerDefinition-environment"
       >ContainerDefinition::environment</a> parameter in the <i>Amazon Elastic Container Service API
       Reference</i>.
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/ContainerDefinition.java