Repository: GoogleContainerTools/jib
File: jib-core/src/main/java/com/google/cloud/tools/jib/configuration/BuildContext.java (Java)

Code before:
    @Nullable private ExecutorService executorService;
    private boolean alwaysCacheBaseImage = false;
    private ImmutableListMultimap<String, String> registryMirrors = ImmutableListMultimap.of();
    private boolean enablePlatformTags = false;

    private Builder() {}

    /**
     * Sets the base image configuration.
     *
     * @param imageConfiguration the {@link ImageConfiguration} describing the base image
     * @return this
     */
    public Builder setBaseImageConfiguration(ImageConfiguration imageConfiguration) {
      baseImageConfiguration = imageConfiguration;
      return this;
    }

    /**
     * Enables/Disables the platform tags.
     *
     * @return this
     */
    public void setEnablePlatformTags(boolean enablePlatformTags) {
      this.enablePlatformTags = enablePlatformTags;
    }

    /**
     * Sets the target image configuration.
     *
     * @param imageConfiguration the {@link ImageConfiguration} describing the target image
     * @return this
     */
    public Builder setTargetImageConfiguration(ImageConfiguration imageConfiguration) {
      targetImageConfiguration = imageConfiguration;
      return this;
    }

    /**
     * Sets the tags to tag the target image with (in addition to the tag in the target image
     * configuration image reference set via {@link #setTargetImageConfiguration}).
     *
     * @param tags a set of tags
     * @return this
     */
    public Builder setAdditionalTargetImageTags(Set<String> tags) {
      additionalTargetImageTags = ImmutableSet.copyOf(tags);
      return this;
    }

    /**

Review comment (suggestion):
```suggestion
    public Builder setEnablePlatformTags(boolean enablePlatformTags) {
      this.enablePlatformTags = enablePlatformTags;
      return this;
    }
```

Code after:
    @Nullable private ExecutorService executorService;
    private boolean alwaysCacheBaseImage = false;
    private ImmutableListMultimap<String, String> registryMirrors = ImmutableListMultimap.of();
    private boolean enablePlatformTags = false;

    private Builder() {}

    /**
     * Sets the base image configuration.
     *
     * @param imageConfiguration the {@link ImageConfiguration} describing the base image
     * @return this
     */
    public Builder setBaseImageConfiguration(ImageConfiguration imageConfiguration) {
      baseImageConfiguration = imageConfiguration;
      return this;
    }

    /**
     * Sets the target image configuration.
     *
     * @param imageConfiguration the {@link ImageConfiguration} describing the target image
     * @return this
     */
    public Builder setTargetImageConfiguration(ImageConfiguration imageConfiguration) {
      targetImageConfiguration = imageConfiguration;
      return this;
    }

    /**
     * Sets the tags to tag the target image with (in addition to the tag in the target image
     * configuration image reference set via {@link #setTargetImageConfiguration}).
     *
     * @param tags a set of tags
     * @return this
     */
    public Builder setAdditionalTargetImageTags(Set<String> tags) {
      additionalTargetImageTags = ImmutableSet.copyOf(tags);
      return this;
    }

    /**
     * Sets whether to automatically add architecture suffix to tags for platform-specific images
     * when building multi-platform images. For example, when building amd64 and arm64 images for a
     * given tag, the final tags will be {@code <tag>-amd64} and {@code <tag>-arm64}.
     *
     * @param enablePlatformTags whether to append architecture suffix to tags
     * @return this
     */
    public Builder setEnablePlatformTags(boolean enablePlatformTags) {
      this.enablePlatformTags = enablePlatformTags;