Class ApplicationPackageReference
java.lang.Object
com.microsoft.azure.management.batch.ApplicationPackageReference
Link to an application package inside the batch account.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionid()
Get the id value.version()
Get if this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences.Set the id value.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.
-
Constructor Details
-
ApplicationPackageReference
public ApplicationPackageReference()
-
-
Method Details
-
id
Get the id value.- Returns:
- the id value
-
withId
Set the id value.- Parameters:
id
- the id value to set- Returns:
- the ApplicationPackageReference object itself.
-
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
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.
-