WorkflowRunInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. appservice. fluent. models. WorkflowRunInner
- com.
- com.
public final class WorkflowRunInner
extends SubResource
The workflow run.
Constructor Summary
Constructor | Description |
---|---|
WorkflowRunInner() |
Creates an instance of Workflow |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
code()
Get the code property: Gets the code. |
Correlation |
correlation()
Get the correlation property: The run correlation. |
String |
correlationId()
Get the correlation |
Offset |
endTime()
Get the end |
Object |
error()
Get the error property: Gets the error. |
static
Workflow |
fromJson(JsonReader jsonReader)
Reads an instance of Workflow |
String |
name()
Get the name property: Gets the workflow run name. |
Map<String,Workflow |
outputs()
Get the outputs property: Gets the outputs. |
Workflow |
response()
Get the response property: Gets the response of the flow run. |
Offset |
startTime()
Get the start |
Workflow |
status()
Get the status property: Gets the status. |
Json |
toJson(JsonWriter jsonWriter) |
Workflow |
trigger()
Get the trigger property: Gets the fired trigger. |
String |
type()
Get the type property: Gets the workflow run type. |
void |
validate()
Validates the instance. |
Offset |
waitEndTime()
Get the wait |
Workflow |
withCorrelation(Correlation correlation)
Set the correlation property: The run correlation. |
Workflow |
withId(String id) |
Resource |
workflow()
Get the workflow property: Gets the reference to workflow version. |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
WorkflowRunInner
public WorkflowRunInner()
Creates an instance of WorkflowRunInner class.
Method Details
code
public String code()
Get the code property: Gets the code.
Returns:
correlation
public Correlation correlation()
Get the correlation property: The run correlation.
Returns:
correlationId
public String correlationId()
Get the correlationId property: Gets the correlation id.
Returns:
endTime
public OffsetDateTime endTime()
Get the endTime property: Gets the end time.
Returns:
error
public Object error()
Get the error property: Gets the error.
Returns:
fromJson
public static WorkflowRunInner fromJson(JsonReader jsonReader)
Reads an instance of WorkflowRunInner from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Gets the workflow run name.
Returns:
outputs
public Map
Get the outputs property: Gets the outputs.
Returns:
response
public WorkflowRunTrigger response()
Get the response property: Gets the response of the flow run.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: Gets the start time.
Returns:
status
public WorkflowStatus status()
Get the status property: Gets the status.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
WorkflowRunInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
trigger
public WorkflowRunTrigger trigger()
Get the trigger property: Gets the fired trigger.
Returns:
type
public String type()
Get the type property: Gets the workflow run type.
Returns:
validate
public void validate()
Validates the instance.
waitEndTime
public OffsetDateTime waitEndTime()
Get the waitEndTime property: Gets the wait end time.
Returns:
withCorrelation
public WorkflowRunInner withCorrelation(Correlation correlation)
Set the correlation property: The run correlation.
Parameters:
Returns:
withId
public WorkflowRunInner withId(String id)
Overrides:
WorkflowRunInner.withId(String id)Parameters:
workflow
public ResourceReference workflow()
Get the workflow property: Gets the reference to workflow version.
Returns:
Applies to
Azure SDK for Java