Class UserSourceInfo

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

public class UserSourceInfo extends Object
Source information for a deployment.
  • Constructor Details

    • UserSourceInfo

      public UserSourceInfo()
  • Method Details

    • version

      public String version()
      Get the version property: Version of the source.
      Returns:
      the version value.
    • withVersion

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

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