public static class WebhookHeader.Builder
extends java.lang.Object
Constructor and Description |
---|
WebhookHeader.Builder()
Instantiates a new builder.
|
WebhookHeader.Builder(java.lang.String name,
java.lang.String value)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
WebhookHeader |
build()
Builds a WebhookHeader.
|
WebhookHeader.Builder |
name(java.lang.String name)
Set the name.
|
WebhookHeader.Builder |
value(java.lang.String value)
Set the value.
|
public WebhookHeader.Builder()
public WebhookHeader.Builder(java.lang.String name, java.lang.String value)
name
- the namevalue
- the valuepublic WebhookHeader build()
public WebhookHeader.Builder name(java.lang.String name)
name
- the namepublic WebhookHeader.Builder value(java.lang.String value)
value
- the value