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 Summary
-
Method Summary
Modifier and Type Method Description RegisterCallbackOptions
build()
Builds a RegisterCallbackOptions.RegisterCallbackOptions.Builder
callbackUrl(String callbackUrl)
Set the callbackUrl.RegisterCallbackOptions.Builder
userSecret(String userSecret)
Set the userSecret.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
callbackUrl
- the callbackUrl
-
-
Method Details
-
build
Builds a RegisterCallbackOptions.- Returns:
- the new RegisterCallbackOptions instance
-
callbackUrl
Set the callbackUrl.- Parameters:
callbackUrl
- the callbackUrl- Returns:
- the RegisterCallbackOptions builder
-
userSecret
Set the userSecret.- Parameters:
userSecret
- the userSecret- Returns:
- the RegisterCallbackOptions builder
-