Class WebhookHeader.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.WebhookHeader.Builder
- Enclosing class:
- WebhookHeader
public static class WebhookHeader.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description WebhookHeader
build()
Builds a WebhookHeader.WebhookHeader.Builder
name(String name)
Set the name.WebhookHeader.Builder
value(String value)
Set the value.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
name
- the namevalue
- the value
-
-
Method Details
-
build
Builds a WebhookHeader.- Returns:
- the new WebhookHeader instance
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the WebhookHeader builder
-
value
Set the value.- Parameters:
value
- the value- Returns:
- the WebhookHeader builder
-