public ContainerDefinition withEntryPoint(String... entryPoint) {
        if (this.entryPoint == null) {
            setEntryPoint(new com.amazonaws.internal.SdkInternalList<String>(entryPoint.length));
        }
        for (String ele : entryPoint) {
            this.entryPoint.add(ele);
        }
        return this;
    }
<important>
<p>
Early versions of the Amazon ECS container agent don't properly handle <code>entryPoint</code> parameters. If you
have problems using <code>entryPoint</code>, update your container agent or enter your commands and arguments as
<code>command</code> array items instead.
</p>
</important>
<p>
The entry point that's passed to the container. This parameter maps to <code>Entrypoint</code> in the <a
href="https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate">Create a container</a> section of the
<a href="https://docs.docker.com/engine/api/v1.35/">Docker Remote API</a> and the <code>--entrypoint</code>
option to <a href="https://docs.docker.com/engine/reference/run/#security-configuration">docker run</a>. For more
information, see <a
href="https://docs.docker.com/engine/reference/builder/#entrypoint">https://docs.docker.com/engine
/reference/builder/#entrypoint</a>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setEntryPoint(java.util.Collection)} or {@link #withEntryPoint(java.util.Collection)} if you want to
override the existing values.
</p>

@param entryPoint
       <p>
       Early versions of the Amazon ECS container agent don't properly handle <code>entryPoint</code> parameters.
       If you have problems using <code>entryPoint</code>, update your container agent or enter your commands and
       arguments as <code>command</code> array items instead.
       </p>
       </important>
       <p>
       The entry point that's passed to the container. This parameter maps to <code>Entrypoint</code> in the <a
       href="https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate">Create a container</a> section
       of the <a href="https://docs.docker.com/engine/api/v1.35/">Docker Remote API</a> and the
       <code>--entrypoint</code> option to <a
       href="https://docs.docker.com/engine/reference/run/#security-configuration">docker run</a>. For more
       information, see <a
       href="https://docs.docker.com/engine/reference/builder/#entrypoint">https://docs.docker
       .com/engine/reference/builder/#entrypoint</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/ContainerDefinition.java