Class BatchApplication

java.lang.Object
com.azure.compute.batch.models.BatchApplication
All Implemented Interfaces:
com.azure.json.JsonSerializable<BatchApplication>

public final class BatchApplication extends Object implements com.azure.json.JsonSerializable<BatchApplication>
Contains information about an application in an Azure Batch Account.
  • Method Summary

    Modifier and Type
    Method
    Description
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of BatchApplication from the JsonReader.
    Get the displayName property: The display name for the application.
    Get the id property: A string that uniquely identifies the application within the Account.
    Get the versions property: The list of available versions of the application.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Method Details

    • getId

      public String getId()
      Get the id property: A string that uniquely identifies the application within the Account.
      Returns:
      the id value.
    • getDisplayName

      public String getDisplayName()
      Get the displayName property: The display name for the application.
      Returns:
      the displayName value.
    • getVersions

      public List<String> getVersions()
      Get the versions property: The list of available versions of the application.
      Returns:
      the versions value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<BatchApplication>
      Throws:
      IOException
    • fromJson

      public static BatchApplication fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the BatchApplication.