code: public ContainerProperties withUlimits(Ulimit... ulimits) {
          if (this.ulimits == null) {
              setUlimits(new java.util.ArrayList<Ulimit>(ulimits.length));
          }
          for (Ulimit ele : ulimits) {
              this.ulimits.add(ele);
          }
          return this;
      }
docs: <p>
  A list of <code>ulimits</code> to set in the container. This parameter maps to <code>Ulimits</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>--ulimit</code> option to <a
  href="https://docs.docker.com/engine/reference/run/">docker run</a>.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setUlimits(java.util.Collection)} or {@link #withUlimits(java.util.Collection)} if you want to override
  the existing values.
  </p>
  
  @param ulimits
  A list of <code>ulimits</code> to set in the container. This parameter maps to <code>Ulimits</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>--ulimit</code> option to <a href="https://docs.docker.com/engine/reference/run/">docker run</a>.
  @return Returns a reference to this object so that method calls can be chained together.