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