code: public ListLayerVersionsResult withLayerVersions(LayerVersionsListItem... layerVersions) {
          if (this.layerVersions == null) {
              setLayerVersions(new com.amazonaws.internal.SdkInternalList<LayerVersionsListItem>(layerVersions.length));
          }
          for (LayerVersionsListItem ele : layerVersions) {
              this.layerVersions.add(ele);
          }
          return this;
      }
docs: <p>
  A list of versions.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setLayerVersions(java.util.Collection)} or {@link #withLayerVersions(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param layerVersions
  A list of versions.
  @return Returns a reference to this object so that method calls can be chained together.