Class UploadedUserSourceInfo

java.lang.Object
com.azure.resourcemanager.appplatform.models.UserSourceInfo
com.azure.resourcemanager.appplatform.models.UploadedUserSourceInfo
Direct Known Subclasses:
JarUploadedUserSourceInfo, NetCoreZipUploadedUserSourceInfo, SourceUploadedUserSourceInfo

public class UploadedUserSourceInfo extends UserSourceInfo
Source with uploaded location.
  • Constructor Details

    • UploadedUserSourceInfo

      public UploadedUserSourceInfo()
  • Method Details

    • relativePath

      public String relativePath()
      Get the relativePath property: Relative path of the storage which stores the source.
      Returns:
      the relativePath value.
    • withRelativePath

      public UploadedUserSourceInfo withRelativePath(String relativePath)
      Set the relativePath property: Relative path of the storage which stores the source.
      Parameters:
      relativePath - the relativePath value to set.
      Returns:
      the UploadedUserSourceInfo object itself.
    • withVersion

      public UploadedUserSourceInfo withVersion(String version)
      Set the version property: Version of the source.
      Overrides:
      withVersion in class UserSourceInfo
      Parameters:
      version - the version value to set.
      Returns:
      the UserSourceInfo object itself.
    • validate

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