code: public void setEnvironment(java.util.Collection<KeyValuePair> environment) {
          if (environment == null) {
              this.environment = null;
              return;
          }
  
          this.environment = new java.util.ArrayList<KeyValuePair>(environment);
      }
docs: <p>
  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 job
  definition.
  </p>
  <note>
  <p>
  Environment variables must not start with <code>AWS_BATCH</code>; this naming convention is reserved for
  variables that are set by the AWS Batch service.
  </p>
  </note>
  
  @param environment
  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 job definition.</p> <note>
  <p>
  Environment variables must not start with <code>AWS_BATCH</code>; this naming convention is reserved for
  variables that are set by the AWS Batch service.
  </p>