@Nested
  @Optional
  public ListProperty<PlatformParameters> getPlatforms() {
    String property = System.getProperty(PropertyNames.FROM_PLATFORMS);
    if (property != null) {
      List<PlatformParameters> parsed =
          ConfigurationPropertyValidator.parseListProperty(property).stream()
              .map(PlatformParameters::of)
              .collect(Collectors.toList());
      if (!parsed.equals(platforms.get())) {
        platforms.set(parsed);
      }
    }
    return platforms;
  }
Object in {@link JibExtension} that configures the base image.
jib-gradle-plugin/src/main/java/com/google/cloud/tools/jib/gradle/BaseImageParameters.java