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