public void setFormat(String format) {
    this.format = ImageFormat.valueOf(format);
  }
A bean that configures properties of the container run from the image. This is configurable with
Groovy closures and can be validated when used as a task input.
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/ContainerParameters.java