Class AzureFunctionReceiver


  • public final class AzureFunctionReceiver
    extends Object
    An azure function receiver.
    • Constructor Detail

      • AzureFunctionReceiver

        public AzureFunctionReceiver()
    • Method Detail

      • name

        public String name()
        Get the name property: The name of the azure function receiver. Names must be unique across all receivers within an action group.
        Returns:
        the name value.
      • withName

        public AzureFunctionReceiver withName​(String name)
        Set the name property: The name of the azure function receiver. Names must be unique across all receivers within an action group.
        Parameters:
        name - the name value to set.
        Returns:
        the AzureFunctionReceiver object itself.
      • functionAppResourceId

        public String functionAppResourceId()
        Get the functionAppResourceId property: The azure resource id of the function app.
        Returns:
        the functionAppResourceId value.
      • withFunctionAppResourceId

        public AzureFunctionReceiver withFunctionAppResourceId​(String functionAppResourceId)
        Set the functionAppResourceId property: The azure resource id of the function app.
        Parameters:
        functionAppResourceId - the functionAppResourceId value to set.
        Returns:
        the AzureFunctionReceiver object itself.
      • functionName

        public String functionName()
        Get the functionName property: The function name in the function app.
        Returns:
        the functionName value.
      • withFunctionName

        public AzureFunctionReceiver withFunctionName​(String functionName)
        Set the functionName property: The function name in the function app.
        Parameters:
        functionName - the functionName value to set.
        Returns:
        the AzureFunctionReceiver object itself.
      • httpTriggerUrl

        public String httpTriggerUrl()
        Get the httpTriggerUrl property: The http trigger url where http request sent to.
        Returns:
        the httpTriggerUrl value.
      • withHttpTriggerUrl

        public AzureFunctionReceiver withHttpTriggerUrl​(String httpTriggerUrl)
        Set the httpTriggerUrl property: The http trigger url where http request sent to.
        Parameters:
        httpTriggerUrl - the httpTriggerUrl value to set.
        Returns:
        the AzureFunctionReceiver object itself.
      • useCommonAlertSchema

        public Boolean useCommonAlertSchema()
        Get the useCommonAlertSchema property: Indicates whether to use common alert schema.
        Returns:
        the useCommonAlertSchema value.
      • withUseCommonAlertSchema

        public AzureFunctionReceiver withUseCommonAlertSchema​(Boolean useCommonAlertSchema)
        Set the useCommonAlertSchema property: Indicates whether to use common alert schema.
        Parameters:
        useCommonAlertSchema - the useCommonAlertSchema value to set.
        Returns:
        the AzureFunctionReceiver object itself.
      • validate

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