public static class CreateEntityOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
CreateEntityOptions.Builder()
Instantiates a new builder.
|
CreateEntityOptions.Builder(java.lang.String workspaceId,
java.lang.String entity)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
CreateEntityOptions.Builder |
addValues(CreateValue values)
Adds an values to values.
|
CreateEntityOptions |
build()
Builds a CreateEntityOptions.
|
CreateEntityOptions.Builder |
description(java.lang.String description)
Set the description.
|
CreateEntityOptions.Builder |
entity(java.lang.String entity)
Set the entity.
|
CreateEntityOptions.Builder |
fuzzyMatch(java.lang.Boolean fuzzyMatch)
Set the fuzzyMatch.
|
CreateEntityOptions.Builder |
includeAudit(java.lang.Boolean includeAudit)
Set the includeAudit.
|
CreateEntityOptions.Builder |
metadata(java.util.Map<java.lang.String,java.lang.Object> metadata)
Set the metadata.
|
CreateEntityOptions.Builder |
values(java.util.List<CreateValue> values)
Set the values.
|
CreateEntityOptions.Builder |
workspaceId(java.lang.String workspaceId)
Set the workspaceId.
|
public CreateEntityOptions.Builder()
public CreateEntityOptions.Builder(java.lang.String workspaceId, java.lang.String entity)
workspaceId
- the workspaceIdentity
- the entitypublic CreateEntityOptions build()
public CreateEntityOptions.Builder addValues(CreateValue values)
values
- the new valuespublic CreateEntityOptions.Builder workspaceId(java.lang.String workspaceId)
workspaceId
- the workspaceIdpublic CreateEntityOptions.Builder entity(java.lang.String entity)
entity
- the entitypublic CreateEntityOptions.Builder description(java.lang.String description)
description
- the descriptionpublic CreateEntityOptions.Builder metadata(java.util.Map<java.lang.String,java.lang.Object> metadata)
metadata
- the metadatapublic CreateEntityOptions.Builder fuzzyMatch(java.lang.Boolean fuzzyMatch)
fuzzyMatch
- the fuzzyMatchpublic CreateEntityOptions.Builder values(java.util.List<CreateValue> values)
values
- the valuespublic CreateEntityOptions.Builder includeAudit(java.lang.Boolean includeAudit)
includeAudit
- the includeAudit