ApplicationPackageReference Class

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

public class ApplicationPackageReference

Link to an application package inside the batch account.

Constructor Summary

Constructor Description
ApplicationPackageReference()

Method Summary

Modifier and Type Method and Description
java.lang.String id()

Get the id value.

java.lang.String version()

Get if this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences.

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.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ApplicationPackageReference

public ApplicationPackageReference()

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