Class WorkflowRunInner
java.lang.Object
com.azure.core.management.SubResource
com.azure.resourcemanager.appservice.fluent.models.WorkflowRunInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.SubResource>
public final class WorkflowRunInner
extends com.azure.core.management.SubResource
The workflow run.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncode()
Get the code property: Gets the code.Get the correlation property: The run correlation.Get the correlationId property: Gets the correlation id.endTime()
Get the endTime property: Gets the end time.error()
Get the error property: Gets the error.static WorkflowRunInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of WorkflowRunInner from the JsonReader.name()
Get the name property: Gets the workflow run name.outputs()
Get the outputs property: Gets the outputs.response()
Get the response property: Gets the response of the flow run.Get the startTime property: Gets the start time.status()
Get the status property: Gets the status.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) trigger()
Get the trigger property: Gets the fired trigger.type()
Get the type property: Gets the workflow run type.void
validate()
Validates the instance.Get the waitEndTime property: Gets the wait end time.withCorrelation
(Correlation correlation) Set the correlation property: The run correlation.workflow()
Get the workflow property: Gets the reference to workflow version.Methods inherited from class com.azure.core.management.SubResource
id
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
-
WorkflowRunInner
public WorkflowRunInner()Creates an instance of WorkflowRunInner class.
-
-
Method Details
-
name
Get the name property: Gets the workflow run name.- Returns:
- the name value.
-
type
Get the type property: Gets the workflow run type.- Returns:
- the type value.
-
withId
- Overrides:
withId
in classcom.azure.core.management.SubResource
-
waitEndTime
Get the waitEndTime property: Gets the wait end time.- Returns:
- the waitEndTime value.
-
startTime
Get the startTime property: Gets the start time.- Returns:
- the startTime value.
-
endTime
Get the endTime property: Gets the end time.- Returns:
- the endTime value.
-
status
Get the status property: Gets the status.- Returns:
- the status value.
-
code
Get the code property: Gets the code.- Returns:
- the code value.
-
error
Get the error property: Gets the error.- Returns:
- the error value.
-
correlationId
Get the correlationId property: Gets the correlation id.- Returns:
- the correlationId value.
-
correlation
Get the correlation property: The run correlation.- Returns:
- the correlation value.
-
withCorrelation
Set the correlation property: The run correlation.- Parameters:
correlation
- the correlation value to set.- Returns:
- the WorkflowRunInner object itself.
-
workflow
Get the workflow property: Gets the reference to workflow version.- Returns:
- the workflow value.
-
trigger
Get the trigger property: Gets the fired trigger.- Returns:
- the trigger value.
-
outputs
Get the outputs property: Gets the outputs.- Returns:
- the outputs value.
-
response
Get the response property: Gets the response of the flow run.- Returns:
- the response value.
-
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<com.azure.core.management.SubResource>
- Overrides:
toJson
in classcom.azure.core.management.SubResource
- Throws:
IOException
-
fromJson
Reads an instance of WorkflowRunInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of WorkflowRunInner 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 WorkflowRunInner.
-