build
Builds a FileContent instance with the configured properties.
Return
A new FileContent instance
Parameters
validate
Whether to validate that either bytes or uri is set, but not both
Throws
if validation fails
Builds a FileContent instance with the configured properties.
A new FileContent instance
Whether to validate that either bytes or uri is set, but not both
if validation fails