Klasse WebhookSubscriptionDeliveryMethod.WebhookSubscriptionDeliveryMethodBuilder
java.lang.Object
io.github.primelib.pagerduty4j.rest.model.WebhookSubscriptionDeliveryMethod.WebhookSubscriptionDeliveryMethodBuilder
- Umschließende Klasse:
WebhookSubscriptionDeliveryMethod
public static class WebhookSubscriptionDeliveryMethod.WebhookSubscriptionDeliveryMethodBuilder
extends Object
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuild()
customHeaders
(List customHeaders) Optional headers to be set on this webhook subscription when sent.The secret used to sign webhook payloads.temporarilyDisabled
(Boolean temporarilyDisabled) Whether or not this webhook subscription is temporarily disabled.toString()
Indicates the type of the delivery method.The destination URL for webhook delivery.
-
Methodendetails
-
id
- Gibt zurück:
this
.
-
secret
public WebhookSubscriptionDeliveryMethod.WebhookSubscriptionDeliveryMethodBuilder secret(String secret) The secret used to sign webhook payloads. Only provided on the initial create response.- Gibt zurück:
this
.
-
temporarilyDisabled
public WebhookSubscriptionDeliveryMethod.WebhookSubscriptionDeliveryMethodBuilder temporarilyDisabled(Boolean temporarilyDisabled) Whether or not this webhook subscription is temporarily disabled. Becomestrue
if the delivery method URL is repeatedly rejected by the server.- Gibt zurück:
this
.
-
type
public WebhookSubscriptionDeliveryMethod.WebhookSubscriptionDeliveryMethodBuilder type(WebhookSubscriptionDeliveryMethod.TypeEnum type) Indicates the type of the delivery method.- Gibt zurück:
this
.
-
url
The destination URL for webhook delivery.- Gibt zurück:
this
.
-
customHeaders
public WebhookSubscriptionDeliveryMethod.WebhookSubscriptionDeliveryMethodBuilder customHeaders(List customHeaders) Optional headers to be set on this webhook subscription when sent. The header values are redacted in GET requests, but are not redacted on the webhook when delivered to the webhook's endpoint.- Gibt zurück:
this
.
-
build
-
toString
-