public static class UpdateEntityOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
UpdateEntityOptions.Builder()
Instantiates a new builder.
|
UpdateEntityOptions.Builder(java.lang.String workspaceId,
java.lang.String entity)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
UpdateEntityOptions.Builder |
addValue(CreateValue value)
Adds an value to newValues.
|
UpdateEntityOptions |
build()
Builds a UpdateEntityOptions.
|
UpdateEntityOptions.Builder |
entity(java.lang.String entity)
Set the entity.
|
UpdateEntityOptions.Builder |
newDescription(java.lang.String newDescription)
Set the newDescription.
|
UpdateEntityOptions.Builder |
newEntity(java.lang.String newEntity)
Set the newEntity.
|
UpdateEntityOptions.Builder |
newFuzzyMatch(java.lang.Boolean newFuzzyMatch)
Set the newFuzzyMatch.
|
UpdateEntityOptions.Builder |
newMetadata(java.util.Map newMetadata)
Set the newMetadata.
|
UpdateEntityOptions.Builder |
newValues(java.util.List<CreateValue> newValues)
Set the newValues.
|
UpdateEntityOptions.Builder |
workspaceId(java.lang.String workspaceId)
Set the workspaceId.
|
public UpdateEntityOptions.Builder()
public UpdateEntityOptions.Builder(java.lang.String workspaceId, java.lang.String entity)
workspaceId
- the workspaceIdentity
- the entitypublic UpdateEntityOptions build()
public UpdateEntityOptions.Builder addValue(CreateValue value)
value
- the new valuepublic UpdateEntityOptions.Builder workspaceId(java.lang.String workspaceId)
workspaceId
- the workspaceIdpublic UpdateEntityOptions.Builder entity(java.lang.String entity)
entity
- the entitypublic UpdateEntityOptions.Builder newFuzzyMatch(java.lang.Boolean newFuzzyMatch)
newFuzzyMatch
- the newFuzzyMatchpublic UpdateEntityOptions.Builder newEntity(java.lang.String newEntity)
newEntity
- the newEntitypublic UpdateEntityOptions.Builder newMetadata(java.util.Map newMetadata)
newMetadata
- the newMetadatapublic UpdateEntityOptions.Builder newValues(java.util.List<CreateValue> newValues)
newValues
- the newValuespublic UpdateEntityOptions.Builder newDescription(java.lang.String newDescription)
newDescription
- the newDescription