Class UpdateCounterexampleOptions.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.UpdateCounterexampleOptions.Builder
- Enclosing class:
- UpdateCounterexampleOptions
public static class UpdateCounterexampleOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description UpdateCounterexampleOptions
build()
Builds a UpdateCounterexampleOptions.UpdateCounterexampleOptions.Builder
includeAudit(Boolean includeAudit)
Set the includeAudit.UpdateCounterexampleOptions.Builder
newText(String newText)
Set the newText.UpdateCounterexampleOptions.Builder
text(String text)
Set the text.UpdateCounterexampleOptions.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 UpdateCounterexampleOptions.- Returns:
- the new UpdateCounterexampleOptions instance
-
workspaceId
Set the workspaceId.- Parameters:
workspaceId
- the workspaceId- Returns:
- the UpdateCounterexampleOptions builder
-
text
Set the text.- Parameters:
text
- the text- Returns:
- the UpdateCounterexampleOptions builder
-
newText
Set the newText.- Parameters:
newText
- the newText- Returns:
- the UpdateCounterexampleOptions builder
-
includeAudit
Set the includeAudit.- Parameters:
includeAudit
- the includeAudit- Returns:
- the UpdateCounterexampleOptions builder
-