Share via


BatchApplication Class

  • java.lang.Object
    • com.azure.compute.batch.models.BatchApplication

Implements

public final class BatchApplication
implements JsonSerializable<BatchApplication>

Contains information about an application in an Azure Batch Account.

Method Summary

Modifier and Type Method and Description
static BatchApplication fromJson(JsonReader jsonReader)

Reads an instance of BatchApplication from the JsonReader.

String getDisplayName()

Get the displayName property: The display name for the application.

String getId()

Get the id property: A string that uniquely identifies the application within the Account.

List<String> getVersions()

Get the versions property: The list of available versions of the application.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static BatchApplication fromJson(JsonReader jsonReader)

Reads an instance of BatchApplication from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BatchApplication if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getDisplayName

public String getDisplayName()

Get the displayName property: The display name for the application.

Returns:

the displayName value.

getId

public String getId()

Get the id property: A string that uniquely identifies the application within the Account.

Returns:

the id value.

getVersions

public List<String> getVersions()

Get the versions property: The list of available versions of the application.

Returns:

the versions value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to