Package org.onyx.api
Class Account.TagUpdateBuilder
java.lang.Object
org.onyx.api.Account.TagUpdateBuilder
- Enclosing class:
Account
A builder for updating an account's tags.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSpecifies the account to be updated.Specifies a new set of tags.voidUpdates the account's tags.
-
Constructor Details
-
TagUpdateBuilder
public TagUpdateBuilder()
-
-
Method Details
-
forId
Specifies the account to be updated.- Parameters:
id- the account'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 account's tags.- Parameters:
client- ledger API connection object- Throws:
ChainException
-