Package org.onyx.api
Class Action.TagUpdateBuilder
java.lang.Object
org.onyx.api.Action.TagUpdateBuilder
- Enclosing class:
Action
A builder for updating an action's tags.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSpecifies the action to be updated.Specifies a new set of tags.voidUpdates the action's tags.
-
Constructor Details
-
TagUpdateBuilder
public TagUpdateBuilder()
-
-
Method Details
-
forId
Specifies the action to be updated.- Parameters:
id- the action's ID- Returns:
- updated builder
-
setTags
Specifies a new set of tags.- Parameters:
tags- map of tag keys to tag values- Returns:
- updated builder
-
update
Updates the action's tags.- Parameters:
client- ledger API connection object- Throws:
ChainException
-