Class SearchAttributeUpdate<T>
java.lang.Object
io.temporal.common.SearchAttributeUpdate<T>
Representation of a search attribute update inside a workflow. Updates are usually created via
SearchAttributeKey.valueSet(T) or SearchAttributeKey.valueUnset().-
Method Summary
Modifier and TypeMethodDescriptiongetKey()Get the key to set/unset.getValue()Get the value to set, or null for unset.static <T> SearchAttributeUpdate<T> valueSet(SearchAttributeKey<T> key, T value) Create an update for setting the search attribute key to a value.static <T> SearchAttributeUpdate<T> valueUnset(SearchAttributeKey<T> key) Create an update for unsetting a search attribute key.
-
Method Details
-
valueSet
Create an update for setting the search attribute key to a value. Most users will preferSearchAttributeKey.valueSet(T). -
valueUnset
Create an update for unsetting a search attribute key. Most users will preferSearchAttributeKey.valueUnset(). -
getKey
Get the key to set/unset. -
getValue
-