Class BinaryUploadOptions.BinaryUploadOptionsBuilder

java.lang.Object
org.apache.jackrabbit.api.binary.BinaryUploadOptions.BinaryUploadOptionsBuilder
Enclosing class:
BinaryUploadOptions

public static final class BinaryUploadOptions.BinaryUploadOptionsBuilder extends Object
Used to build an instance of BinaryUploadOptions with the options set as desired by the caller.
  • Method Details

    • withDomainOverrideIgnore

      public BinaryUploadOptions.BinaryUploadOptionsBuilder withDomainOverrideIgnore(boolean domainOverrideIgnore)
      Sets the option to ignore any configured domain override setting. The default value of this option is false, meaning that any configured domain override setting should be honored when generating signed upload URIs. Setting this value to true will indicate that the signed upload URIs being generated should not honor any configured domain override setting.
      Parameters:
      domainOverrideIgnore - true to ignore any configured domain override setting, false otherwise.
      Returns:
      the calling instance.
    • build

      public BinaryUploadOptions build()
      Construct a BinaryUploadOptions instance with the properties specified to the builder.
      Returns:
      A new BinaryUploadOptions instance built with the properties specified to the builder.