Class RegisterCallbackOptions.Builder

java.lang.Object
com.ibm.watson.speech_to_text.v1.model.RegisterCallbackOptions.Builder
Enclosing class:
RegisterCallbackOptions

public static class RegisterCallbackOptions.Builder
extends Object
Builder.
  • Constructor Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

      public RegisterCallbackOptions build()
      Builds a RegisterCallbackOptions.
      Returns:
      the new RegisterCallbackOptions instance
    • callbackUrl

      public RegisterCallbackOptions.Builder callbackUrl​(String callbackUrl)
      Set the callbackUrl.
      Parameters:
      callbackUrl - the callbackUrl
      Returns:
      the RegisterCallbackOptions builder
    • userSecret

      public RegisterCallbackOptions.Builder userSecret​(String userSecret)
      Set the userSecret.
      Parameters:
      userSecret - the userSecret
      Returns:
      the RegisterCallbackOptions builder