Package org.apache.jackrabbit.api.binary
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 ofBinaryUploadOptions
with the options set as desired by the caller.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BinaryUploadOptions
build()
Construct aBinaryUploadOptions
instance with the properties specified to the builder.BinaryUploadOptions.BinaryUploadOptionsBuilder
withDomainOverrideIgnore(boolean domainOverrideIgnore)
Sets the option to ignore any configured domain override setting.
-
-
-
Method Detail
-
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 aBinaryUploadOptions
instance with the properties specified to the builder.- Returns:
- A new
BinaryUploadOptions
instance built with the properties specified to the builder.
-
-