Interface Webhook.UpdateStages.WithCustomHeaders
-
- All Known Subinterfaces:
Webhook.Update
- Enclosing interface:
- Webhook.UpdateStages
public static interface Webhook.UpdateStages.WithCustomHeadersThe stage of the webhook definition allowing to specify the custom headers that will be added to the notifications.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Webhook.UpdatewithCustomHeader(String name, String value)Specifies a custom header that will be added to notifications.Webhook.UpdatewithCustomHeaders(Map<String,String> customHeaders)Specifies custom headers that will be added to the notifications.
-
-
-
Method Detail
-
withCustomHeader
Webhook.Update withCustomHeader(String name, String value)
Specifies a custom header that will be added to notifications.Consecutive calls to this method will add additional headers.
- Parameters:
name- of the optional headervalue- of the optional header- Returns:
- the next stage of the resource update
-
withCustomHeaders
Webhook.Update withCustomHeaders(Map<String,String> customHeaders)
Specifies custom headers that will be added to the notifications.- Parameters:
customHeaders- the "Name=Value" custom headers.- Returns:
- the next stage of the resource update
-
-