public AccountBuilder containers(Collection<Container> containers) {
    idToContainerMetadataMap.clear();
    if (containers != null) {
      for (Container container : containers) {
        idToContainerMetadataMap.put(container.getId(), container);
      }
    }
    return this;
  }
Clear the set of containers for the {@link Account} to build and add the provided ones.
@param containers A collection of {@link Container}s to use. Can be {@code null} to just remove all containers.
@return This builder.
ambry-api/src/main/java/com/github/ambry/account/AccountBuilder.java