public static class CreateEntityOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String workspaceId,
String entity)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
CreateEntityOptions.Builder |
addValues(CreateValue values)
Adds a new element to values.
|
CreateEntityOptions |
build()
Builds a CreateEntityOptions.
|
CreateEntityOptions.Builder |
description(String description)
Set the description.
|
CreateEntityOptions.Builder |
entity(String entity)
Set the entity.
|
CreateEntityOptions.Builder |
fuzzyMatch(Boolean fuzzyMatch)
Set the fuzzyMatch.
|
CreateEntityOptions.Builder |
includeAudit(Boolean includeAudit)
Set the includeAudit.
|
CreateEntityOptions.Builder |
metadata(Map<String,Object> metadata)
Set the metadata.
|
CreateEntityOptions.Builder |
values(List<CreateValue> values)
Set the values.
|
CreateEntityOptions.Builder |
workspaceId(String workspaceId)
Set the workspaceId.
|
public CreateEntityOptions build()
public CreateEntityOptions.Builder addValues(CreateValue values)
values
- the new element to be addedpublic CreateEntityOptions.Builder workspaceId(String workspaceId)
workspaceId
- the workspaceIdpublic CreateEntityOptions.Builder entity(String entity)
entity
- the entitypublic CreateEntityOptions.Builder description(String description)
description
- the descriptionpublic CreateEntityOptions.Builder metadata(Map<String,Object> metadata)
metadata
- the metadatapublic CreateEntityOptions.Builder fuzzyMatch(Boolean fuzzyMatch)
fuzzyMatch
- the fuzzyMatchpublic CreateEntityOptions.Builder values(List<CreateValue> values)
values
- the valuespublic CreateEntityOptions.Builder includeAudit(Boolean includeAudit)
includeAudit
- the includeAuditCopyright © 2024 IBM Cloud. All rights reserved.