Class WorkflowEnvelopeInner
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.WorkflowEnvelopeInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<WorkflowEnvelopeInner>
public final class WorkflowEnvelopeInner
extends Object
implements com.azure.json.JsonSerializable<WorkflowEnvelopeInner>
Workflow properties definition.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkflowEnvelopeInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of WorkflowEnvelopeInner from the JsonReader.id()
Get the id property: The resource id.kind()
Get the kind property: The resource kind.location()
Get the location property: The resource location.name()
Get the name property: Gets the resource name.Get the properties property: Additional workflow properties.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) type()
Get the type property: Gets the resource type.void
validate()
Validates the instance.Set the kind property: The resource kind.withLocation
(String location) Set the location property: The resource location.withProperties
(WorkflowEnvelopeProperties properties) Set the properties property: Additional workflow properties.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
-
WorkflowEnvelopeInner
public WorkflowEnvelopeInner()Creates an instance of WorkflowEnvelopeInner class.
-
-
Method Details
-
id
Get the id property: The resource id.- Returns:
- the id value.
-
name
Get the name property: Gets the resource name.- Returns:
- the name value.
-
type
Get the type property: Gets the resource type.- Returns:
- the type value.
-
kind
Get the kind property: The resource kind.- Returns:
- the kind value.
-
withKind
Set the kind property: The resource kind.- Parameters:
kind
- the kind value to set.- Returns:
- the WorkflowEnvelopeInner object itself.
-
location
Get the location property: The resource location.- Returns:
- the location value.
-
withLocation
Set the location property: The resource location.- Parameters:
location
- the location value to set.- Returns:
- the WorkflowEnvelopeInner object itself.
-
properties
Get the properties property: Additional workflow properties.- Returns:
- the properties value.
-
withProperties
Set the properties property: Additional workflow properties.- Parameters:
properties
- the properties value to set.- Returns:
- the WorkflowEnvelopeInner 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<WorkflowEnvelopeInner>
- Throws:
IOException
-
fromJson
public static WorkflowEnvelopeInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of WorkflowEnvelopeInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of WorkflowEnvelopeInner 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 WorkflowEnvelopeInner.
-