code: public void setLayerVersions(java.util.Collection<LayerVersionsListItem> layerVersions) {
          if (layerVersions == null) {
              this.layerVersions = null;
              return;
          }
  
          this.layerVersions = new com.amazonaws.internal.SdkInternalList<LayerVersionsListItem>(layerVersions);
      }
docs: <p>
  A list of versions.
  </p>
  
  @param layerVersions
  A list of versions.