public static class UpdateEntityOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
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<java.lang.String,java.lang.Object> 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 Builder()
public 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 newEntity(java.lang.String newEntity)
newEntity
- the newEntitypublic UpdateEntityOptions.Builder newDescription(java.lang.String newDescription)
newDescription
- the newDescriptionpublic UpdateEntityOptions.Builder newMetadata(java.util.Map<java.lang.String,java.lang.Object> newMetadata)
newMetadata
- the newMetadatapublic UpdateEntityOptions.Builder newFuzzyMatch(java.lang.Boolean newFuzzyMatch)
newFuzzyMatch
- the newFuzzyMatchpublic UpdateEntityOptions.Builder newValues(java.util.List<CreateValue> newValues)
newValues
- the newValues