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 UpdateCounterexampleOptionsbuild()Builds a UpdateCounterexampleOptions.UpdateCounterexampleOptions.BuilderincludeAudit(Boolean includeAudit)Set the includeAudit.UpdateCounterexampleOptions.BuildernewText(String newText)Set the newText.UpdateCounterexampleOptions.Buildertext(String text)Set the text.UpdateCounterexampleOptions.BuilderworkspaceId(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
-