Class Account.AccountBuilder
- java.lang.Object
-
- com.syntifi.casper.sdk.model.account.Account.AccountBuilder
-
- Enclosing class:
- Account
public static class Account.AccountBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Account.AccountBuilder
associatedKeys(java.util.List<AssociatedKey> associatedKeys)
a list ofAssociatedKey
Account
build()
Account.AccountBuilder
deployment(ActionThresholds deployment)
ActionThresholds
that have to be met when executing an action of a certain type.Account.AccountBuilder
hash(java.lang.String hash)
account_hash(String) Hex-encoded account hash.Account.AccountBuilder
mainPurse(java.lang.String mainPurse)
main_purse(String) Hex-encoded, formatted URef.Account.AccountBuilder
namedKeys(java.util.List<NamedKey> namedKeys)
named_keys (@link NamedKey)java.lang.String
toString()
-
-
-
Method Detail
-
hash
public Account.AccountBuilder hash(java.lang.String hash)
account_hash(String) Hex-encoded account hash.- Returns:
this
.
-
deployment
public Account.AccountBuilder deployment(ActionThresholds deployment)
ActionThresholds
that have to be met when executing an action of a certain type.- Returns:
this
.
-
associatedKeys
public Account.AccountBuilder associatedKeys(java.util.List<AssociatedKey> associatedKeys)
a list ofAssociatedKey
- Returns:
this
.
-
mainPurse
public Account.AccountBuilder mainPurse(java.lang.String mainPurse)
main_purse(String) Hex-encoded, formatted URef.- Returns:
this
.
-
namedKeys
public Account.AccountBuilder namedKeys(java.util.List<NamedKey> namedKeys)
named_keys (@link NamedKey)- Returns:
this
.
-
build
public Account build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-