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