Class ApplicationPackageReference

java.lang.Object
com.microsoft.azure.management.batch.ApplicationPackageReference

public class ApplicationPackageReference extends Object
Link to an application package inside the batch account.
  • Constructor Details

    • ApplicationPackageReference

      public ApplicationPackageReference()
  • Method Details

    • id

      public String id()
      Get the id value.
      Returns:
      the id value
    • withId

      public ApplicationPackageReference withId(String id)
      Set the id value.
      Parameters:
      id - the id value to set
      Returns:
      the ApplicationPackageReference object itself.
    • version

      public String version()
      Get if this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
      Returns:
      the version value
    • withVersion

      public ApplicationPackageReference withVersion(String version)
      Set if this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409.
      Parameters:
      version - the version value to set
      Returns:
      the ApplicationPackageReference object itself.