public class CreateEntity
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CreateEntity.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Date |
created |
protected java.lang.String |
description |
protected java.lang.String |
entity |
protected java.lang.Boolean |
fuzzyMatch |
protected java.util.Map<java.lang.String,java.lang.Object> |
metadata |
protected java.util.Date |
updated |
protected java.util.List<CreateValue> |
values |
Modifier | Constructor and Description |
---|---|
protected |
CreateEntity(CreateEntity.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
created()
Gets the created.
|
java.lang.String |
description()
Gets the description.
|
java.lang.String |
entity()
Gets the entity.
|
java.lang.Boolean |
fuzzyMatch()
Gets the fuzzyMatch.
|
java.util.Map<java.lang.String,java.lang.Object> |
metadata()
Gets the metadata.
|
CreateEntity.Builder |
newBuilder()
New builder.
|
java.util.Date |
updated()
Gets the updated.
|
java.util.List<CreateValue> |
values()
Gets the values.
|
protected java.lang.String entity
protected java.lang.String description
protected java.util.Map<java.lang.String,java.lang.Object> metadata
@SerializedName(value="fuzzy_match") protected java.lang.Boolean fuzzyMatch
protected java.util.Date created
protected java.util.Date updated
protected java.util.List<CreateValue> values
protected CreateEntity(CreateEntity.Builder builder)
public CreateEntity.Builder newBuilder()
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.Date created()
The timestamp for creation of the object.
public java.util.Date updated()
The timestamp for the most recent update to the object.
public java.util.List<CreateValue> values()
An array of objects describing the entity values.