<p>
Information about the bundles.
</p>

@param bundles
Information about the bundles.
161708
public void setBundles(java.util.Collection<WorkspaceBundle> bundles) {
        if (bundles == null) {
            this.bundles = null;
            return;
        }

        this.bundles = new com.amazonaws.internal.SdkInternalList<WorkspaceBundle>(bundles);
    }
366918
@Override
	protected List<JoinableResourceBundle> filterBundlesToRender(List<JoinableResourceBundle> bundles) {
		List<JoinableResourceBundle> filteredBundles = new ArrayList<>();
		for (JoinableResourceBundle bundle : bundles) {
			if (bundle.getInclusionPattern().isIncludeOnDebug()) {
				filteredBundles.add(bundle);
			}
		}
		return filteredBundles;
	}
741938
public void loadPropertiesBundle(final String bundleName,
			final Locale locale) {
		LOG.info("Loading properties bundle: " + bundleName);
		ResourceBundle bundle = ResourceBundle.getBundle(bundleName, locale);
		bundles.put(bundleName, bundle);
	}
180122
public synchronized void initPathToResourceBundleMap(List<JoinableResourceBundle> bundles) throws IOException {

		for (JoinableResourceBundle bundle : bundles) {

			// Remove bundle reference from existing mapping if exists
			removePathMappingFromPathMap(bundle);

			List<PathMapping> mappings = bundle.getMappings();
			for (PathMapping pathMapping : mappings) {
				register(pathMapping);
			}

			// Register file path mapping for linked resources
			List<FilePathMapping> fMappings = bundle.getLinkedFilePathMappings();
			for (FilePathMapping fMapping : fMappings) {
				register(fMapping);
			}
		}
	}
815595
private boolean bundleListContains(List<JoinableResourceBundle> bundles, String bundleName) {
		boolean contains = false;
		for (JoinableResourceBundle bundle : bundles) {
			if (bundle.getName().equals(bundleName)) {
				contains = true;
				break;
			}
		}
		return contains;
	}
643888
public void setRepositories(java.util.Collection<Repository> repositories) {
        if (repositories == null) {
            this.repositories = null;
            return;
        }

        this.repositories = new java.util.ArrayList<Repository>(repositories);
    }
775513
public void setClusters(java.util.Collection<ClusterSummary> clusters) {
        if (clusters == null) {
            this.clusters = null;
            return;
        }

        this.clusters = new com.amazonaws.internal.SdkInternalList<ClusterSummary>(clusters);
    }
200802
public void setRegions(java.util.Collection<String> regions) {
        if (regions == null) {
            this.regions = null;
            return;
        }

        this.regions = new java.util.ArrayList<String>(regions);
    }
630133
public void setScripts(java.util.Collection<Script> scripts) {
        if (scripts == null) {
            this.scripts = null;
            return;
        }

        this.scripts = new java.util.ArrayList<Script>(scripts);
    }
922480
public void setSubResources(java.util.Collection<SubResourceSummary> subResources) {
        if (subResources == null) {
            this.subResources = null;
            return;
        }

        this.subResources = new java.util.ArrayList<SubResourceSummary>(subResources);
    }
1075430
public void setBundleList(java.util.Collection<BundleDetails> bundleList) {
        if (bundleList == null) {
            this.bundleList = null;
            return;
        }

        this.bundleList = new java.util.ArrayList<BundleDetails>(bundleList);
    }
1221258
@Override
	public void notifyModification(List<JoinableResourceBundle> bundles) {
		for (JoinableResourceBundle bundle : bundles) {
			if (LOGGER.isInfoEnabled() && !bundle.isDirty()) {
				LOGGER.info("The bundle '" + bundle.getId() + "' has been modified and needs to be rebuild.");
			}
			bundle.setDirty(true);

			// Update the composite bundles which are linked to this bundle if
			// they exists
			List<JoinableResourceBundle> linkedBundles = compositeResourceBundleMap.get(bundle.getName());
			if (linkedBundles != null) {
				for (JoinableResourceBundle compositeBundle : linkedBundles) {
					if (LOGGER.isInfoEnabled() && !compositeBundle.isDirty()) {
						LOGGER.info("The composite bundle '" + compositeBundle.getId()
								+ "', whose child has been modified, needs to be rebuild.");
					}
					compositeBundle.setDirty(true);
				}
			}
		}
	}
1160937
public void setResourceShareArns(java.util.Collection<String> resourceShareArns) {
        if (resourceShareArns == null) {
            this.resourceShareArns = null;
            return;
        }

        this.resourceShareArns = new java.util.ArrayList<String>(resourceShareArns);
    }
555107
public void setBundles(java.util.Collection<RelationalDatabaseBundle> bundles) {
        if (bundles == null) {
            this.bundles = null;
            return;
        }

        this.bundles = new java.util.ArrayList<RelationalDatabaseBundle>(bundles);
    }
496343
private static List<String> getBundleNames(List<JoinableResourceBundle> bundles) {

		List<String> bundleNames = new ArrayList<>();
		for (Iterator<JoinableResourceBundle> iterator = bundles.iterator(); iterator.hasNext();) {
			bundleNames.add(iterator.next().getName());
		}
		return bundleNames;
	}
183574
public void setSubModules(java.util.Collection<SubModule> subModules) {
        if (subModules == null) {
            this.subModules = null;
            return;
        }

        this.subModules = new java.util.ArrayList<SubModule>(subModules);
    }
1047918
public void setRegions(java.util.Collection<Region> regions) {
        if (regions == null) {
            this.regions = null;
            return;
        }

        this.regions = new com.amazonaws.internal.SdkInternalList<Region>(regions);
    }