Class GraphicalRunbookContentInner

java.lang.Object
com.azure.resourcemanager.automation.fluent.models.GraphicalRunbookContentInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<GraphicalRunbookContentInner>

public final class GraphicalRunbookContentInner extends Object implements com.azure.json.JsonSerializable<GraphicalRunbookContentInner>
Graphical Runbook Content.
  • Constructor Details

    • GraphicalRunbookContentInner

      public GraphicalRunbookContentInner()
      Creates an instance of GraphicalRunbookContentInner class.
  • Method Details

    • rawContent

      public RawGraphicalRunbookContent rawContent()
      Get the rawContent property: Raw graphical Runbook content.
      Returns:
      the rawContent value.
    • withRawContent

      public GraphicalRunbookContentInner withRawContent(RawGraphicalRunbookContent rawContent)
      Set the rawContent property: Raw graphical Runbook content.
      Parameters:
      rawContent - the rawContent value to set.
      Returns:
      the GraphicalRunbookContentInner object itself.
    • graphRunbookJson

      public String graphRunbookJson()
      Get the graphRunbookJson property: Graphical Runbook content as JSON.
      Returns:
      the graphRunbookJson value.
    • withGraphRunbookJson

      public GraphicalRunbookContentInner withGraphRunbookJson(String graphRunbookJson)
      Set the graphRunbookJson property: Graphical Runbook content as JSON.
      Parameters:
      graphRunbookJson - the graphRunbookJson value to set.
      Returns:
      the GraphicalRunbookContentInner object itself.
    • 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<GraphicalRunbookContentInner>
      Throws:
      IOException
    • fromJson

      public static GraphicalRunbookContentInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of GraphicalRunbookContentInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of GraphicalRunbookContentInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the GraphicalRunbookContentInner.