Class Entity.EntityBuilder

  • Enclosing class:
    Entity

    public static class Entity.EntityBuilder
    extends java.lang.Object
    • Method Detail

      • protocolVersion

        public Entity.EntityBuilder protocolVersion​(java.lang.String protocolVersion)
        Casper Platform protocol version
        Returns:
        this.
      • packageHash

        public Entity.EntityBuilder packageHash​(java.lang.String packageHash)
        A Package in the global state.
        Returns:
        this.
      • byteCodeHash

        public Entity.EntityBuilder byteCodeHash​(java.lang.String byteCodeHash)
        HashAddr which is the raw bytes of the ByteCodeHash
        Returns:
        this.
      • associatedKeys

        public Entity.EntityBuilder associatedKeys​(java.util.List<AssociatedKey> associatedKeys)
        A collection of weighted public keys (represented as account hashes) associated with an account.
        Returns:
        this.
      • actionThresholds

        public Entity.EntityBuilder actionThresholds​(ActionThresholds actionThresholds)
        Thresholds that have to be met when executing an action of a certain type.
        Returns:
        this.
      • build

        public Entity build()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object