public static class CreateValueOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String workspaceId,
String entity,
String value)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
CreateValueOptions.Builder |
addPattern(String pattern)
Adds a new element to patterns.
|
CreateValueOptions.Builder |
addSynonym(String synonym)
Adds a new element to synonyms.
|
CreateValueOptions |
build()
Builds a CreateValueOptions.
|
CreateValueOptions.Builder |
entity(String entity)
Set the entity.
|
CreateValueOptions.Builder |
includeAudit(Boolean includeAudit)
Set the includeAudit.
|
CreateValueOptions.Builder |
metadata(Map<String,Object> metadata)
Set the metadata.
|
CreateValueOptions.Builder |
patterns(List<String> patterns)
Set the patterns.
|
CreateValueOptions.Builder |
synonyms(List<String> synonyms)
Set the synonyms.
|
CreateValueOptions.Builder |
type(String type)
Set the type.
|
CreateValueOptions.Builder |
value(String value)
Set the value.
|
CreateValueOptions.Builder |
workspaceId(String workspaceId)
Set the workspaceId.
|
public CreateValueOptions build()
public CreateValueOptions.Builder addSynonym(String synonym)
synonym
- the new element to be addedpublic CreateValueOptions.Builder addPattern(String pattern)
pattern
- the new element to be addedpublic CreateValueOptions.Builder workspaceId(String workspaceId)
workspaceId
- the workspaceIdpublic CreateValueOptions.Builder entity(String entity)
entity
- the entitypublic CreateValueOptions.Builder value(String value)
value
- the valuepublic CreateValueOptions.Builder metadata(Map<String,Object> metadata)
metadata
- the metadatapublic CreateValueOptions.Builder type(String type)
type
- the typepublic CreateValueOptions.Builder synonyms(List<String> synonyms)
synonyms
- the synonymspublic CreateValueOptions.Builder patterns(List<String> patterns)
patterns
- the patternspublic CreateValueOptions.Builder includeAudit(Boolean includeAudit)
includeAudit
- the includeAuditCopyright © 2024 IBM Cloud. All rights reserved.