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