protected Objects.ToStringHelper toStringHelper() {
    return Objects.toStringHelper(this)
        .add("minDecodeIntervalMs", minDecodeIntervalMs)
        .add("maxDimensionPx", maxDimensionPx)
        .add("decodePreviewFrame", decodePreviewFrame)
        .add("useLastFrameForPreview", useLastFrameForPreview)
        .add("useEncodedImageForPreview", useEncodedImageForPreview)
        .add("decodeAllFrames", decodeAllFrames)
        .add("forceStaticImage", forceStaticImage)
        .add("bitmapConfigName", bitmapConfig.name())
        .add("animatedBitmapConfigName", animatedBitmapConfig.name())
        .add("customImageDecoder", customImageDecoder)
        .add("bitmapTransformation", bitmapTransformation)
        .add("colorSpace", colorSpace);
  }
Creates a new builder.

@return a new builder
imagepipeline-base/src/main/java/com/facebook/imagepipeline/common/ImageDecodeOptions.java