ApplicationPackageReference Class
- java.
lang. Object - com.
microsoft. azure. management. batch. ApplicationPackageReference
- com.
public class ApplicationPackageReference
Link to an application package inside the batch account.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
id()
Get the id value. |
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. |
Application |
withId(String id)
Set the id value. |
Application |
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. |
Method Details
id
public String id()
Get the id value.
Returns:
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:
withId
public ApplicationPackageReference withId(String id)
Set the id value.
Parameters:
Returns:
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:
Returns:
Applies to
Azure SDK for Java