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 GetWorkspaceOptionsbuild()Builds a GetWorkspaceOptions.GetWorkspaceOptions.Builderexport(Boolean export)Set the export.GetWorkspaceOptions.BuilderincludeAudit(Boolean includeAudit)Set the includeAudit.GetWorkspaceOptions.Buildersort(String sort)Set the sort.GetWorkspaceOptions.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 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
-