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.Builder |
append(java.lang.Boolean append)
Set the append.
|
UpdateValueOptions |
build()
Builds a UpdateValueOptions.
|
UpdateValueOptions.Builder |
entity(java.lang.String entity)
Set the entity.
|
UpdateValueOptions.Builder |
includeAudit(java.lang.Boolean includeAudit)
Set the includeAudit.
|
UpdateValueOptions.Builder |
newMetadata(java.util.Map<java.lang.String,java.lang.Object> 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 |
newType(java.lang.String newType)
Set the newType.
|
UpdateValueOptions.Builder |
newValue(java.lang.String newValue)
Set the newValue.
|
UpdateValueOptions.Builder |
value(java.lang.String value)
Set the value.
|
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 newValue(java.lang.String newValue)
newValue
- the newValuepublic UpdateValueOptions.Builder newMetadata(java.util.Map<java.lang.String,java.lang.Object> newMetadata)
newMetadata
- the newMetadatapublic UpdateValueOptions.Builder newType(java.lang.String newType)
newType
- the newTypepublic UpdateValueOptions.Builder newSynonyms(java.util.List<java.lang.String> newSynonyms)
newSynonyms
- the newSynonymspublic UpdateValueOptions.Builder newPatterns(java.util.List<java.lang.String> newPatterns)
newPatterns
- the newPatternspublic UpdateValueOptions.Builder append(java.lang.Boolean append)
append
- the appendpublic UpdateValueOptions.Builder includeAudit(java.lang.Boolean includeAudit)
includeAudit
- the includeAudit