public static class UpdateValueOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
UpdateValueOptions.Builder()
Instantiates a new builder.
|
UpdateValueOptions.Builder(java.lang.String workspaceId,
java.lang.String entity,
java.lang.String value)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
UpdateValueOptions.Builder |
addPattern(java.lang.String pattern)
Adds an pattern to newPatterns.
|
UpdateValueOptions.Builder |
addSynonym(java.lang.String synonym)
Adds an synonym to newSynonyms.
|
UpdateValueOptions |
build()
Builds a UpdateValueOptions.
|
UpdateValueOptions.Builder |
entity(java.lang.String entity)
Set the entity.
|
UpdateValueOptions.Builder |
newMetadata(java.util.Map newMetadata)
Set the newMetadata.
|
UpdateValueOptions.Builder |
newPatterns(java.util.List<java.lang.String> newPatterns)
Set the newPatterns.
|
UpdateValueOptions.Builder |
newSynonyms(java.util.List<java.lang.String> newSynonyms)
Set the newSynonyms.
|
UpdateValueOptions.Builder |
newValue(java.lang.String newValue)
Set the newValue.
|
UpdateValueOptions.Builder |
value(java.lang.String value)
Set the value.
|
UpdateValueOptions.Builder |
valueType(java.lang.String valueType)
Set the valueType.
|
UpdateValueOptions.Builder |
workspaceId(java.lang.String workspaceId)
Set the workspaceId.
|
public UpdateValueOptions.Builder()
public UpdateValueOptions.Builder(java.lang.String workspaceId, java.lang.String entity, java.lang.String value)
workspaceId
- the workspaceIdentity
- the entityvalue
- the valuepublic UpdateValueOptions build()
public UpdateValueOptions.Builder addSynonym(java.lang.String synonym)
synonym
- the new synonympublic UpdateValueOptions.Builder addPattern(java.lang.String pattern)
pattern
- the new patternpublic UpdateValueOptions.Builder workspaceId(java.lang.String workspaceId)
workspaceId
- the workspaceIdpublic UpdateValueOptions.Builder entity(java.lang.String entity)
entity
- the entitypublic UpdateValueOptions.Builder value(java.lang.String value)
value
- the valuepublic UpdateValueOptions.Builder newSynonyms(java.util.List<java.lang.String> newSynonyms)
newSynonyms
- the newSynonymspublic UpdateValueOptions.Builder valueType(java.lang.String valueType)
valueType
- the valueTypepublic UpdateValueOptions.Builder newMetadata(java.util.Map newMetadata)
newMetadata
- the newMetadatapublic UpdateValueOptions.Builder newPatterns(java.util.List<java.lang.String> newPatterns)
newPatterns
- the newPatternspublic UpdateValueOptions.Builder newValue(java.lang.String newValue)
newValue
- the newValue