Class RawGraphicalRunbookContent
java.lang.Object
com.azure.resourcemanager.automation.models.RawGraphicalRunbookContent
- All Implemented Interfaces:
com.azure.json.JsonSerializable<RawGraphicalRunbookContent>
public final class RawGraphicalRunbookContent
extends Object
implements com.azure.json.JsonSerializable<RawGraphicalRunbookContent>
Raw Graphical Runbook content.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RawGraphicalRunbookContent class. -
Method Summary
Modifier and TypeMethodDescriptionstatic RawGraphicalRunbookContent
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of RawGraphicalRunbookContent from the JsonReader.Get the runbookDefinition property: Serialized Graphical runbook.Get the runbookType property: Runbook Type.Get the schemaVersion property: Schema version of the serializer.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withRunbookDefinition
(String runbookDefinition) Set the runbookDefinition property: Serialized Graphical runbook.withRunbookType
(GraphRunbookType runbookType) Set the runbookType property: Runbook Type.withSchemaVersion
(String schemaVersion) Set the schemaVersion property: Schema version of the serializer.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
-
RawGraphicalRunbookContent
public RawGraphicalRunbookContent()Creates an instance of RawGraphicalRunbookContent class.
-
-
Method Details
-
schemaVersion
Get the schemaVersion property: Schema version of the serializer.- Returns:
- the schemaVersion value.
-
withSchemaVersion
Set the schemaVersion property: Schema version of the serializer.- Parameters:
schemaVersion
- the schemaVersion value to set.- Returns:
- the RawGraphicalRunbookContent object itself.
-
runbookDefinition
Get the runbookDefinition property: Serialized Graphical runbook.- Returns:
- the runbookDefinition value.
-
withRunbookDefinition
Set the runbookDefinition property: Serialized Graphical runbook.- Parameters:
runbookDefinition
- the runbookDefinition value to set.- Returns:
- the RawGraphicalRunbookContent object itself.
-
runbookType
Get the runbookType property: Runbook Type.- Returns:
- the runbookType value.
-
withRunbookType
Set the runbookType property: Runbook Type.- Parameters:
runbookType
- the runbookType value to set.- Returns:
- the RawGraphicalRunbookContent 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<RawGraphicalRunbookContent>
- Throws:
IOException
-
fromJson
public static RawGraphicalRunbookContent fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of RawGraphicalRunbookContent from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of RawGraphicalRunbookContent 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 RawGraphicalRunbookContent.
-