public static class WebhookHeader.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String name,
String value)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
WebhookHeader |
build()
Builds a WebhookHeader.
|
WebhookHeader.Builder |
name(String name)
Set the name.
|
WebhookHeader.Builder |
value(String value)
Set the value.
|
public WebhookHeader build()
public WebhookHeader.Builder name(String name)
name
- the namepublic WebhookHeader.Builder value(String value)
value
- the valueCopyright © 2023 IBM Cloud. All rights reserved.