code: public PublishLayerVersionResult withCompatibleRuntimes(String... compatibleRuntimes) {
          if (this.compatibleRuntimes == null) {
              setCompatibleRuntimes(new com.amazonaws.internal.SdkInternalList<String>(compatibleRuntimes.length));
          }
          for (String ele : compatibleRuntimes) {
              this.compatibleRuntimes.add(ele);
          }
          return this;
      }
docs: <p>
  The layer's compatible runtimes.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setCompatibleRuntimes(java.util.Collection)} or {@link #withCompatibleRuntimes(java.util.Collection)} if
  you want to override the existing values.
  </p>
  
  @param compatibleRuntimes
  The layer's compatible runtimes.
  @return Returns a reference to this object so that method calls can be chained together.
  @see Runtime