private void listContainers() {
    System.out.format("List Containers%n");

    List<Container> containers = cloudFiles.getContainerApiForRegion(REGION).list().toList();
    for (Container container : containers) {
      System.out.format("  %s%n", container);
    }
  }
  private void createContainer() {
    System.out.format("Create Container%n");

    CreateContainerOptions options =
        CreateContainerOptions.Builder.metadata(
            ImmutableMap.of("key1", "value1", "key2", "value2"));

    cloudFiles.getContainerApiForRegion(REGION).create(CONTAINER, options);

    System.out.format("  %s%n", CONTAINER);
  }