Class CreateEntityOptions.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.CreateEntityOptions.Builder
- Enclosing class:
- CreateEntityOptions
public static class CreateEntityOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description CreateEntityOptions.BuilderaddValues(CreateValue values)Adds an values to values.CreateEntityOptionsbuild()Builds a CreateEntityOptions.CreateEntityOptions.Builderdescription(String description)Set the description.CreateEntityOptions.Builderentity(String entity)Set the entity.CreateEntityOptions.BuilderfuzzyMatch(Boolean fuzzyMatch)Set the fuzzyMatch.CreateEntityOptions.BuilderincludeAudit(Boolean includeAudit)Set the includeAudit.CreateEntityOptions.Buildermetadata(Map<String,Object> metadata)Set the metadata.CreateEntityOptions.Buildervalues(List<CreateValue> values)Set the values.CreateEntityOptions.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 CreateEntityOptions.- Returns:
- the new CreateEntityOptions instance
-
addValues
Adds an values to values.- Parameters:
values- the new values- Returns:
- the CreateEntityOptions builder
-
workspaceId
Set the workspaceId.- Parameters:
workspaceId- the workspaceId- Returns:
- the CreateEntityOptions builder
-
entity
Set the entity.- Parameters:
entity- the entity- Returns:
- the CreateEntityOptions builder
-
description
Set the description.- Parameters:
description- the description- Returns:
- the CreateEntityOptions builder
-
metadata
Set the metadata.- Parameters:
metadata- the metadata- Returns:
- the CreateEntityOptions builder
-
fuzzyMatch
Set the fuzzyMatch.- Parameters:
fuzzyMatch- the fuzzyMatch- Returns:
- the CreateEntityOptions builder
-
values
Set the values. Existing values will be replaced.- Parameters:
values- the values- Returns:
- the CreateEntityOptions builder
-
includeAudit
Set the includeAudit.- Parameters:
includeAudit- the includeAudit- Returns:
- the CreateEntityOptions builder
-