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 Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

      public Builder​(String name, String value)
      Instantiates a new builder with required properties.
      Parameters:
      name - the name
      value - the value
  • Method Details

    • build

      public WebhookHeader build()
      Builds a WebhookHeader.
      Returns:
      the new WebhookHeader instance
    • name

      public WebhookHeader.Builder name​(String name)
      Set the name.
      Parameters:
      name - the name
      Returns:
      the WebhookHeader builder
    • value

      public WebhookHeader.Builder value​(String value)
      Set the value.
      Parameters:
      value - the value
      Returns:
      the WebhookHeader builder