WorkflowTriggerReference Class
- java.
lang. Object - com.
azure. resourcemanager. logic. models. ResourceReference - com.
azure. resourcemanager. logic. models. WorkflowTriggerReference
- com.
- com.
public final class WorkflowTriggerReference
extends ResourceReference
The workflow trigger reference.
Constructor Summary
| Constructor | Description |
|---|---|
| WorkflowTriggerReference() |
Creates an instance of Workflow |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
flowName()
Get the flow |
|
static
Workflow |
fromJson(JsonReader jsonReader)
Reads an instance of Workflow |
| String |
name()
Get the name property: Gets the resource name. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
triggerName()
Get the trigger |
| String |
type()
Get the type property: Gets the resource type. |
| void |
validate()
Validates the instance. |
|
Workflow |
withFlowName(String flowName)
Set the flow |
|
Workflow |
withId(String id)
Set the id property: The resource id. |
|
Workflow |
withTriggerName(String triggerName)
Set the trigger |
Methods inherited from ResourceReference
Methods inherited from java.lang.Object
Constructor Details
WorkflowTriggerReference
public WorkflowTriggerReference()
Creates an instance of WorkflowTriggerReference class.
Method Details
flowName
public String flowName()
Get the flowName property: The workflow name.
Returns:
fromJson
public static WorkflowTriggerReference fromJson(JsonReader jsonReader)
Reads an instance of WorkflowTriggerReference from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Gets the resource name.
Overrides:
WorkflowTriggerReference.name()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
WorkflowTriggerReference.toJson(JsonWriter jsonWriter)Parameters:
Throws:
triggerName
public String triggerName()
Get the triggerName property: The workflow trigger name.
Returns:
type
public String type()
Get the type property: Gets the resource type.
Overrides:
WorkflowTriggerReference.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
WorkflowTriggerReference.validate()withFlowName
public WorkflowTriggerReference withFlowName(String flowName)
Set the flowName property: The workflow name.
Parameters:
Returns:
withId
public WorkflowTriggerReference withId(String id)
Set the id property: The resource id.
Overrides:
WorkflowTriggerReference.withId(String id)Parameters:
withTriggerName
public WorkflowTriggerReference withTriggerName(String triggerName)
Set the triggerName property: The workflow trigger name.
Parameters:
Returns: