code: public LinuxParameters withDevices(Device... devices) {
          if (this.devices == null) {
              setDevices(new com.amazonaws.internal.SdkInternalList<Device>(devices.length));
          }
          for (Device ele : devices) {
              this.devices.add(ele);
          }
          return this;
      }
docs: <p>
  Any host devices to expose to the container. This parameter maps to <code>Devices</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>--device</code> option to
  <a href="https://docs.docker.com/engine/reference/run/">docker run</a>.
  </p>
  <note>
  <p>
  If you are using tasks that use the Fargate launch type, the <code>devices</code> parameter is not supported.
  </p>
  </note>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setDevices(java.util.Collection)} or {@link #withDevices(java.util.Collection)} if you want to override
  the existing values.
  </p>
  
  @param devices
  Any host devices to expose to the container. This parameter maps to <code>Devices</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>--device</code> option to <a href="https://docs.docker.com/engine/reference/run/">docker
  run</a>.</p> <note>
  <p>
  If you are using tasks that use the Fargate launch type, the <code>devices</code> parameter is not
  supported.
  </p>
  @return Returns a reference to this object so that method calls can be chained together.