public final class WebhookReceiver extends Object
| Constructor and Description |
|---|
WebhookReceiver() |
| Modifier and Type | Method and Description |
|---|---|
String |
identifierUri()
Get the identifierUri property: Indicates the identifier uri for aad auth.
|
String |
name()
Get the name property: The name of the webhook receiver.
|
String |
objectId()
Get the objectId property: Indicates the webhook app object Id for aad auth.
|
String |
serviceUri()
Get the serviceUri property: The URI where webhooks should be sent.
|
String |
tenantId()
Get the tenantId property: Indicates the tenant id for aad auth.
|
Boolean |
useAadAuth()
Get the useAadAuth property: Indicates whether or not use AAD authentication.
|
boolean |
useCommonAlertSchema()
Get the useCommonAlertSchema property: Indicates whether to use common alert schema.
|
void |
validate()
Validates the instance.
|
WebhookReceiver |
withIdentifierUri(String identifierUri)
Set the identifierUri property: Indicates the identifier uri for aad auth.
|
WebhookReceiver |
withName(String name)
Set the name property: The name of the webhook receiver.
|
WebhookReceiver |
withObjectId(String objectId)
Set the objectId property: Indicates the webhook app object Id for aad auth.
|
WebhookReceiver |
withServiceUri(String serviceUri)
Set the serviceUri property: The URI where webhooks should be sent.
|
WebhookReceiver |
withTenantId(String tenantId)
Set the tenantId property: Indicates the tenant id for aad auth.
|
WebhookReceiver |
withUseAadAuth(Boolean useAadAuth)
Set the useAadAuth property: Indicates whether or not use AAD authentication.
|
WebhookReceiver |
withUseCommonAlertSchema(boolean useCommonAlertSchema)
Set the useCommonAlertSchema property: Indicates whether to use common alert schema.
|
public String name()
public WebhookReceiver withName(String name)
name - the name value to set.public String serviceUri()
public WebhookReceiver withServiceUri(String serviceUri)
serviceUri - the serviceUri value to set.public boolean useCommonAlertSchema()
public WebhookReceiver withUseCommonAlertSchema(boolean useCommonAlertSchema)
useCommonAlertSchema - the useCommonAlertSchema value to set.public Boolean useAadAuth()
public WebhookReceiver withUseAadAuth(Boolean useAadAuth)
useAadAuth - the useAadAuth value to set.public String objectId()
public WebhookReceiver withObjectId(String objectId)
objectId - the objectId value to set.public String identifierUri()
public WebhookReceiver withIdentifierUri(String identifierUri)
identifierUri - the identifierUri value to set.public String tenantId()
public WebhookReceiver withTenantId(String tenantId)
tenantId - the tenantId value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.