public ContainerOverrides withCommand(String... command) {
        if (this.command == null) {
            setCommand(new java.util.ArrayList<String>(command.length));
        }
        for (String ele : command) {
            this.command.add(ele);
        }
        return this;
    }
<p>
The command to send to the container that overrides the default command from the Docker image or the job
definition.
</p>
<note>
<p>
This parameter can't contain an empty string.
</p>
</note>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCommand(java.util.Collection)} or {@link #withCommand(java.util.Collection)} if you want to override
the existing values.
</p>

@param command
       The command to send to the container that overrides the default command from the Docker image or the job
       definition.</p> <note>
       <p>
       This parameter can't contain an empty string.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/ContainerOverrides.java