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