Interface ActionGroup.ActionDefinition<ParentT>

Type Parameters:
ParentT - the next stage of the definition.
All Known Subinterfaces:
ActionGroup.Definition
Enclosing interface:
ActionGroup

public static interface ActionGroup.ActionDefinition<ParentT>
Receivers action definition allowing to set each receiver's configuration.
  • Method Details

    • withEmail

      ActionGroup.ActionDefinition<ParentT> withEmail(String emailAddress)
      Sets the email receiver.
      Parameters:
      emailAddress - the email Address value to set
      Returns:
      the next stage of the definition
    • withSms

      ActionGroup.ActionDefinition<ParentT> withSms(String countryCode, String phoneNumber)
      Sets the SMS receiver.
      Parameters:
      countryCode - the countryCode value to set
      phoneNumber - the phoneNumber value to set
      Returns:
      the next stage of the definition
    • withWebhook

      ActionGroup.ActionDefinition<ParentT> withWebhook(String serviceUri)
      Sets the Webhook receiver.
      Parameters:
      serviceUri - the serviceUri value to set
      Returns:
      the next stage of the definition
    • withItsm

      ActionGroup.ActionDefinition<ParentT> withItsm(String workspaceId, String connectionId, String ticketConfiguration, String region)
      Sets the ITSM receiver.
      Parameters:
      workspaceId - the workspaceId value to set
      connectionId - the connectionId value to set
      ticketConfiguration - the ticketConfiguration value to set
      region - the region value to set
      Returns:
      the next stage of the definition
    • withPushNotification

      ActionGroup.ActionDefinition<ParentT> withPushNotification(String emailAddress)
      Sets the Azure Mobile App Push Notification receiver.
      Parameters:
      emailAddress - the emailAddress value to set
      Returns:
      the next stage of the definition
    • withAutomationRunbook

      ActionGroup.ActionDefinition<ParentT> withAutomationRunbook(String automationAccountId, String runbookName, String webhookResourceId, boolean isGlobalRunbook)
      Sets the Azure Automation Runbook notification receiver.
      Parameters:
      automationAccountId - the automationAccountId value to set
      runbookName - the runbookName value to set
      webhookResourceId - the webhookResourceId value to set
      isGlobalRunbook - the isGlobalRunbook value to set
      Returns:
      the next stage of the definition
    • withVoice

      ActionGroup.ActionDefinition<ParentT> withVoice(String countryCode, String phoneNumber)
      Sets the Voice notification receiver.
      Parameters:
      countryCode - the countryCode value to set
      phoneNumber - the phoneNumber value to set
      Returns:
      the next stage of the definition
    • withLogicApp

      ActionGroup.ActionDefinition<ParentT> withLogicApp(String logicAppResourceId, String callbackUrl)
      Sets the Logic App receiver.
      Parameters:
      logicAppResourceId - the logicAppResourceId value to set
      callbackUrl - the callbackUrl value to set
      Returns:
      the next stage of the definition
    • withAzureFunction

      ActionGroup.ActionDefinition<ParentT> withAzureFunction(String functionAppResourceId, String functionName, String httpTriggerUrl)
      Sets the Azure Functions receiver.
      Parameters:
      functionAppResourceId - the functionAppResourceId value to set
      functionName - the functionName value to set
      httpTriggerUrl - the httpTriggerUrl value to set
      Returns:
      the next stage of the definition
    • attach

      ParentT attach()
      Attaches the defined receivers to the Action Group configuration.
      Returns:
      the next stage of the definition