public AwsEcsTaskDefinitionContainerDefinitionsDetails withEnvironment(
            java.util.Collection<AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails> environment) {
        setEnvironment(environment);
        return this;
    }
<p>
The environment variables to pass to a container.
</p>

@param environment
       The environment variables to pass to a container.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEcsTaskDefinitionContainerDefinitionsDetails.java