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 GetIntentOptionsbuild()Builds a GetIntentOptions.GetIntentOptions.Builderexport(Boolean export)Set the export.GetIntentOptions.BuilderincludeAudit(Boolean includeAudit)Set the includeAudit.GetIntentOptions.Builderintent(String intent)Set the intent.GetIntentOptions.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 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
-