public final class AzureFunctionReceiver extends Object
| Constructor and Description |
|---|
AzureFunctionReceiver() |
| Modifier and Type | Method and Description |
|---|---|
String |
functionAppResourceId()
Get the functionAppResourceId property: The azure resource id of the function app.
|
String |
functionName()
Get the functionName property: The function name in the function app.
|
String |
httpTriggerUrl()
Get the httpTriggerUrl property: The http trigger url where http request sent to.
|
String |
name()
Get the name property: The name of the azure function receiver.
|
boolean |
useCommonAlertSchema()
Get the useCommonAlertSchema property: Indicates whether to use common alert schema.
|
void |
validate()
Validates the instance.
|
AzureFunctionReceiver |
withFunctionAppResourceId(String functionAppResourceId)
Set the functionAppResourceId property: The azure resource id of the function app.
|
AzureFunctionReceiver |
withFunctionName(String functionName)
Set the functionName property: The function name in the function app.
|
AzureFunctionReceiver |
withHttpTriggerUrl(String httpTriggerUrl)
Set the httpTriggerUrl property: The http trigger url where http request sent to.
|
AzureFunctionReceiver |
withName(String name)
Set the name property: The name of the azure function receiver.
|
AzureFunctionReceiver |
withUseCommonAlertSchema(boolean useCommonAlertSchema)
Set the useCommonAlertSchema property: Indicates whether to use common alert schema.
|
public String name()
public AzureFunctionReceiver withName(String name)
name - the name value to set.public String functionAppResourceId()
public AzureFunctionReceiver withFunctionAppResourceId(String functionAppResourceId)
functionAppResourceId - the functionAppResourceId value to set.public String functionName()
public AzureFunctionReceiver withFunctionName(String functionName)
functionName - the functionName value to set.public String httpTriggerUrl()
public AzureFunctionReceiver withHttpTriggerUrl(String httpTriggerUrl)
httpTriggerUrl - the httpTriggerUrl value to set.public boolean useCommonAlertSchema()
public AzureFunctionReceiver withUseCommonAlertSchema(boolean useCommonAlertSchema)
useCommonAlertSchema - the useCommonAlertSchema value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.