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