code: public RegisterContainerInstanceRequest withPlatformDevices(PlatformDevice... platformDevices) {
          if (this.platformDevices == null) {
              setPlatformDevices(new com.amazonaws.internal.SdkInternalList<PlatformDevice>(platformDevices.length));
          }
          for (PlatformDevice ele : platformDevices) {
              this.platformDevices.add(ele);
          }
          return this;
      }
docs: <p>
  The devices that are available on the container instance. The only supported device type is a GPU.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setPlatformDevices(java.util.Collection)} or {@link #withPlatformDevices(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param platformDevices
  The devices that are available on the container instance. The only supported device type is a GPU.
  @return Returns a reference to this object so that method calls can be chained together.