public class WebhookReceiver extends Object
| Constructor and Description |
|---|
WebhookReceiver() |
| Modifier and Type | Method and Description |
|---|---|
String |
identifierUri()
Get indicates the identifier uri for aad auth.
|
String |
name()
Get the name of the webhook receiver.
|
String |
objectId()
Get indicates the webhook app object Id for aad auth.
|
String |
serviceUri()
Get the URI where webhooks should be sent.
|
String |
tenantId()
Get indicates the tenant id for aad auth.
|
Boolean |
useAadAuth()
Get indicates whether or not use AAD authentication.
|
boolean |
useCommonAlertSchema()
Get indicates whether to use common alert schema.
|
WebhookReceiver |
withIdentifierUri(String identifierUri)
Set indicates the identifier uri for aad auth.
|
WebhookReceiver |
withName(String name)
Set the name of the webhook receiver.
|
WebhookReceiver |
withObjectId(String objectId)
Set indicates the webhook app object Id for aad auth.
|
WebhookReceiver |
withServiceUri(String serviceUri)
Set the URI where webhooks should be sent.
|
WebhookReceiver |
withTenantId(String tenantId)
Set indicates the tenant id for aad auth.
|
WebhookReceiver |
withUseAadAuth(Boolean useAadAuth)
Set indicates whether or not use AAD authentication.
|
WebhookReceiver |
withUseCommonAlertSchema(boolean useCommonAlertSchema)
Set indicates whether to use common alert schema.
|
public String name()
public WebhookReceiver withName(String name)
name - the name value to setpublic String serviceUri()
public WebhookReceiver withServiceUri(String serviceUri)
serviceUri - the serviceUri value to setpublic boolean useCommonAlertSchema()
public WebhookReceiver withUseCommonAlertSchema(boolean useCommonAlertSchema)
useCommonAlertSchema - the useCommonAlertSchema value to setpublic Boolean useAadAuth()
public WebhookReceiver withUseAadAuth(Boolean useAadAuth)
useAadAuth - the useAadAuth value to setpublic String objectId()
public WebhookReceiver withObjectId(String objectId)
objectId - the objectId value to setpublic String identifierUri()
public WebhookReceiver withIdentifierUri(String identifierUri)
identifierUri - the identifierUri value to setpublic String tenantId()
public WebhookReceiver withTenantId(String tenantId)
tenantId - the tenantId value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/