Class ServerlessRuntimeDependency

java.lang.Object
com.azure.resourcemanager.informaticadatamanagement.models.ServerlessRuntimeDependency
All Implemented Interfaces:
com.azure.json.JsonSerializable<ServerlessRuntimeDependency>

public final class ServerlessRuntimeDependency extends Object implements com.azure.json.JsonSerializable<ServerlessRuntimeDependency>
Dependency reference for a serverless runtime resource.
  • Method Details

    • id

      public String id()
      Get the id property: Dependency ID.
      Returns:
      the id value.
    • appContextId

      public String appContextId()
      Get the appContextId property: Application context ID.
      Returns:
      the appContextId value.
    • path

      public String path()
      Get the path property: Dependency path.
      Returns:
      the path value.
    • documentType

      public String documentType()
      Get the documentType property: document type.
      Returns:
      the documentType value.
    • description

      public String description()
      Get the description property: description of Dependency.
      Returns:
      the description value.
    • lastUpdatedTime

      public String lastUpdatedTime()
      Get the lastUpdatedTime property: Last Update Time.
      Returns:
      the lastUpdatedTime value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

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

      public static ServerlessRuntimeDependency fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ServerlessRuntimeDependency from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ServerlessRuntimeDependency 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 ServerlessRuntimeDependency.