Class ResourceUploadDefinition


  • public final class ResourceUploadDefinition
    extends Object
    Resource upload definition payload.
    • Constructor Detail

      • ResourceUploadDefinition

        public ResourceUploadDefinition()
    • Method Detail

      • relativePath

        public String relativePath()
        Get the relativePath property: Source relative path.
        Returns:
        the relativePath value.
      • withRelativePath

        public ResourceUploadDefinition withRelativePath​(String relativePath)
        Set the relativePath property: Source relative path.
        Parameters:
        relativePath - the relativePath value to set.
        Returns:
        the ResourceUploadDefinition object itself.
      • uploadUrl

        public String uploadUrl()
        Get the uploadUrl property: Upload URL.
        Returns:
        the uploadUrl value.
      • withUploadUrl

        public ResourceUploadDefinition withUploadUrl​(String uploadUrl)
        Set the uploadUrl property: Upload URL.
        Parameters:
        uploadUrl - the uploadUrl value to set.
        Returns:
        the ResourceUploadDefinition object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.