public TaskContainerProperties 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 that's passed to the container. This parameter maps to <code>Cmd</code> in the <a
href="https://docs.docker.com/engine/api/v1.23/#create-a-container">Create a container</a> section of the <a
href="https://docs.docker.com/engine/api/v1.23/">Docker Remote API</a> and the <code>COMMAND</code> parameter to
<a href="https://docs.docker.com/engine/reference/run/">docker run</a>. For more information, see <a
href="https://docs.docker.com/engine/reference/builder/#cmd">Dockerfile reference: CMD</a>.
</p>
<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 that's passed to the container. This parameter maps to <code>Cmd</code> in the <a
       href="https://docs.docker.com/engine/api/v1.23/#create-a-container">Create a container</a> section of the
       <a href="https://docs.docker.com/engine/api/v1.23/">Docker Remote API</a> and the <code>COMMAND</code>
       parameter to <a href="https://docs.docker.com/engine/reference/run/">docker run</a>. For more information,
       see <a href="https://docs.docker.com/engine/reference/builder/#cmd">Dockerfile reference: CMD</a>.
@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/TaskContainerProperties.java