WorkflowTriggerReference Class

public final class WorkflowTriggerReference
extends ResourceReference

The workflow trigger reference.

Constructor Summary

Constructor Description
WorkflowTriggerReference()

Creates an instance of WorkflowTriggerReference class.

Method Summary

Modifier and Type Method and Description
String flowName()

Get the flowName property: The workflow name.

static WorkflowTriggerReference fromJson(JsonReader jsonReader)

Reads an instance of WorkflowTriggerReference from the JsonReader.

String name()

Get the name property: Gets the resource name.

JsonWriter toJson(JsonWriter jsonWriter)
String triggerName()

Get the triggerName property: The workflow trigger name.

String type()

Get the type property: Gets the resource type.

void validate()

Validates the instance.

WorkflowTriggerReference withFlowName(String flowName)

Set the flowName property: The workflow name.

WorkflowTriggerReference withId(String id)

Set the id property: The resource id.

WorkflowTriggerReference withTriggerName(String triggerName)

Set the triggerName property: The workflow trigger name.

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:

the flowName value.

fromJson

public static WorkflowTriggerReference fromJson(JsonReader jsonReader)

Reads an instance of WorkflowTriggerReference from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of WorkflowTriggerReference 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 WorkflowTriggerReference.

name

public String name()

Get the name property: Gets the resource name.

Overrides:

WorkflowTriggerReference.name()

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

WorkflowTriggerReference.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

triggerName

public String triggerName()

Get the triggerName property: The workflow trigger name.

Returns:

the triggerName value.

type

public String type()

Get the type property: Gets the resource type.

Overrides:

WorkflowTriggerReference.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

WorkflowTriggerReference.validate()

withFlowName

public WorkflowTriggerReference withFlowName(String flowName)

Set the flowName property: The workflow name.

Parameters:

flowName - the flowName value to set.

Returns:

the WorkflowTriggerReference object itself.

withId

public WorkflowTriggerReference withId(String id)

Set the id property: The resource id.

Overrides:

WorkflowTriggerReference.withId(String id)

Parameters:

id

withTriggerName

public WorkflowTriggerReference withTriggerName(String triggerName)

Set the triggerName property: The workflow trigger name.

Parameters:

triggerName - the triggerName value to set.

Returns:

the WorkflowTriggerReference object itself.

Applies to