Class WorkflowTriggerReference

java.lang.Object
com.azure.resourcemanager.logic.models.ResourceReference
com.azure.resourcemanager.logic.models.WorkflowTriggerReference

public final class WorkflowTriggerReference extends ResourceReference
The workflow trigger reference.
  • 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.
    • 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.
    • triggerName

      public String triggerName()
      Get the triggerName property: The workflow trigger name.
      Returns:
      the triggerName value.
    • 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.
    • withId

      public WorkflowTriggerReference withId(String id)
      Set the id property: The resource id.
      Overrides:
      withId in class ResourceReference
      Parameters:
      id - the id value to set.
      Returns:
      the ResourceReference object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ResourceReference
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.