public class UpdateEntityOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
UpdateEntityOptions.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
append |
protected java.lang.String |
entity |
protected java.lang.Boolean |
includeAudit |
protected java.lang.String |
newDescription |
protected java.lang.String |
newEntity |
protected java.lang.Boolean |
newFuzzyMatch |
protected java.util.Map<java.lang.String,java.lang.Object> |
newMetadata |
protected java.util.List<CreateValue> |
newValues |
protected java.lang.String |
workspaceId |
Modifier | Constructor and Description |
---|---|
protected |
UpdateEntityOptions(UpdateEntityOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
append()
Gets the append.
|
java.lang.String |
entity()
Gets the entity.
|
java.lang.Boolean |
includeAudit()
Gets the includeAudit.
|
UpdateEntityOptions.Builder |
newBuilder()
New builder.
|
java.lang.String |
newDescription()
Gets the newDescription.
|
java.lang.String |
newEntity()
Gets the newEntity.
|
java.lang.Boolean |
newFuzzyMatch()
Gets the newFuzzyMatch.
|
java.util.Map<java.lang.String,java.lang.Object> |
newMetadata()
Gets the newMetadata.
|
java.util.List<CreateValue> |
newValues()
Gets the newValues.
|
java.lang.String |
workspaceId()
Gets the workspaceId.
|
protected java.lang.String workspaceId
protected java.lang.String entity
protected java.lang.String newEntity
protected java.lang.String newDescription
protected java.util.Map<java.lang.String,java.lang.Object> newMetadata
protected java.lang.Boolean newFuzzyMatch
protected java.util.List<CreateValue> newValues
protected java.lang.Boolean append
protected java.lang.Boolean includeAudit
protected UpdateEntityOptions(UpdateEntityOptions.Builder builder)
public UpdateEntityOptions.Builder newBuilder()
public java.lang.String workspaceId()
Unique identifier of the workspace.
public java.lang.String entity()
The name of the entity.
public java.lang.String newEntity()
The name of the entity. This string must conform to the following restrictions: - It can contain only Unicode alphanumeric, underscore, and hyphen characters. - It cannot begin with the reserved prefix `sys-`.
public java.lang.String newDescription()
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> newMetadata()
Any metadata related to the entity.
public java.lang.Boolean newFuzzyMatch()
Whether to use fuzzy matching for the entity.
public java.util.List<CreateValue> newValues()
An array of objects describing the entity values.
public java.lang.Boolean append()
Whether the new data is to be appended to the existing data in the entity. If **append**=`false`, elements included in the new data completely replace the corresponding existing elements, including all subelements. For example, if the new data for the entity includes **values** and **append**=`false`, all existing values for the entity are discarded and replaced with the new values.
If **append**=`true`, existing elements are preserved, and the new elements are added. If any elements in the new data collide with existing elements, the update request fails.
public java.lang.Boolean includeAudit()
Whether to include the audit properties (`created` and `updated` timestamps) in the response.