public class CreateEntityOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CreateEntityOptions.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
description |
protected java.lang.String |
entity |
protected java.lang.Boolean |
fuzzyMatch |
protected java.lang.Boolean |
includeAudit |
protected java.util.Map<java.lang.String,java.lang.Object> |
metadata |
protected java.util.List<CreateValue> |
values |
protected java.lang.String |
workspaceId |
Modifier | Constructor and Description |
---|---|
protected |
CreateEntityOptions(CreateEntityOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
description()
Gets the description.
|
java.lang.String |
entity()
Gets the entity.
|
java.lang.Boolean |
fuzzyMatch()
Gets the fuzzyMatch.
|
java.lang.Boolean |
includeAudit()
Gets the includeAudit.
|
java.util.Map<java.lang.String,java.lang.Object> |
metadata()
Gets the metadata.
|
CreateEntityOptions.Builder |
newBuilder()
New builder.
|
java.util.List<CreateValue> |
values()
Gets the values.
|
java.lang.String |
workspaceId()
Gets the workspaceId.
|
protected java.lang.String workspaceId
protected java.lang.String entity
protected java.lang.String description
protected java.util.Map<java.lang.String,java.lang.Object> metadata
protected java.lang.Boolean fuzzyMatch
protected java.util.List<CreateValue> values
protected java.lang.Boolean includeAudit
protected CreateEntityOptions(CreateEntityOptions.Builder builder)
public CreateEntityOptions.Builder newBuilder()
public java.lang.String workspaceId()
Unique identifier of the workspace.
public java.lang.String entity()
The name of the entity. This string must conform to the following restrictions: - It can contain only Unicode alphanumeric, underscore, and hyphen characters. - If you specify an entity name beginning with the reserved prefix `sys-`, it must be the name of a system entity that you want to enable. (Any entity content specified with the request is ignored.).
public java.lang.String description()
The description of the entity. This string cannot contain carriage return, newline, or tab characters.
public java.util.Map<java.lang.String,java.lang.Object> metadata()
Any metadata related to the entity.
public java.lang.Boolean fuzzyMatch()
Whether to use fuzzy matching for the entity.
public java.util.List<CreateValue> values()
An array of objects describing the entity values.
public java.lang.Boolean includeAudit()
Whether to include the audit properties (`created` and `updated` timestamps) in the response.