Class UpdateEntityOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class UpdateEntityOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateEntityOptions.BuilderBuilder. -
Method Summary
Modifier and Type Method Description Booleanappend()Gets the append.Stringentity()Gets the entity.BooleanincludeAudit()Gets the includeAudit.UpdateEntityOptions.BuildernewBuilder()New builder.StringnewDescription()Gets the newDescription.StringnewEntity()Gets the newEntity.BooleannewFuzzyMatch()Gets the newFuzzyMatch.Map<String,Object>newMetadata()Gets the newMetadata.List<CreateValue>newValues()Gets the newValues.StringworkspaceId()Gets the workspaceId.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a UpdateEntityOptions builder
-
workspaceId
Gets the workspaceId.Unique identifier of the workspace.
- Returns:
- the workspaceId
-
entity
Gets the entity.The name of the entity.
- Returns:
- the entity
-
newEntity
Gets the 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-`.
- Returns:
- the newEntity
-
newDescription
Gets the newDescription.The description of the entity. This string cannot contain carriage return, newline, or tab characters.
- Returns:
- the newDescription
-
newMetadata
Gets the newMetadata.Any metadata related to the entity.
- Returns:
- the newMetadata
-
newFuzzyMatch
Gets the newFuzzyMatch.Whether to use fuzzy matching for the entity.
- Returns:
- the newFuzzyMatch
-
newValues
Gets the newValues.An array of objects describing the entity values.
- Returns:
- the newValues
-
append
Gets the 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.
- Returns:
- the append
-
includeAudit
Gets the includeAudit.Whether to include the audit properties (`created` and `updated` timestamps) in the response.
- Returns:
- the includeAudit
-