ApplicationPackageReference Class

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

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.

ApplicationPackageReference withId(String id)

Set the id value.

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.

Method Details

id

public String id()

Get the id value.

Returns:

the id value

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

withId

public ApplicationPackageReference withId(String id)

Set the id value.

Parameters:

id - the id value to set

Returns:

the ApplicationPackageReference object itself.

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.

Applies to