code: public PublishLayerVersionRequest withCompatibleRuntimes(Runtime... compatibleRuntimes) {
          com.amazonaws.internal.SdkInternalList<String> compatibleRuntimesCopy = new com.amazonaws.internal.SdkInternalList<String>(compatibleRuntimes.length);
          for (Runtime value : compatibleRuntimes) {
              compatibleRuntimesCopy.add(value.toString());
          }
          if (getCompatibleRuntimes() == null) {
              setCompatibleRuntimes(compatibleRuntimesCopy);
          } else {
              getCompatibleRuntimes().addAll(compatibleRuntimesCopy);
          }
          return this;
      }
docs: <p>
  A list of compatible <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">function
  runtimes</a>. Used for filtering with <a>ListLayers</a> and <a>ListLayerVersions</a>.
  </p>
  
  @param compatibleRuntimes
  A list of compatible <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">function
  runtimes</a>. Used for filtering with <a>ListLayers</a> and <a>ListLayerVersions</a>.
  @return Returns a reference to this object so that method calls can be chained together.
  @see Runtime