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