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 Summary
ConstructorsConstructorDescriptionCreates an instance of GraphicalRunbookContentInner class. -
Method Summary
Modifier and TypeMethodDescriptionstatic GraphicalRunbookContentInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of GraphicalRunbookContentInner from the JsonReader.Get the graphRunbookJson property: Graphical Runbook content as JSON.Get the rawContent property: Raw graphical Runbook content.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withGraphRunbookJson
(String graphRunbookJson) Set the graphRunbookJson property: Graphical Runbook content as JSON.withRawContent
(RawGraphicalRunbookContent rawContent) Set the rawContent property: Raw graphical Runbook content.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
-
Constructor Details
-
GraphicalRunbookContentInner
public GraphicalRunbookContentInner()Creates an instance of GraphicalRunbookContentInner class.
-
-
Method Details
-
rawContent
Get the rawContent property: Raw graphical Runbook content.- Returns:
- the rawContent value.
-
withRawContent
Set the rawContent property: Raw graphical Runbook content.- Parameters:
rawContent
- the rawContent value to set.- Returns:
- the GraphicalRunbookContentInner object itself.
-
graphRunbookJson
Get the graphRunbookJson property: Graphical Runbook content as JSON.- Returns:
- the graphRunbookJson value.
-
withGraphRunbookJson
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
- Specified by:
toJson
in interfacecom.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.
-