public JibContainerBuilder setFileEntriesLayers(List<FileEntriesLayer> layers) {
    containerBuildPlanBuilder.setLayers(layers);
    layerConfigurations = new ArrayList<>(layers);
    return this;
  }
Sets the layers (defined by a list of {@link FileEntriesLayer}s). This replaces any
previously-added layers.

@param layers the list of {@link FileEntriesLayer}s
@return this
jib-core/src/main/java/com/google/cloud/tools/jib/api/JibContainerBuilder.java