Package com.syntifi.casper.sdk.model.era
Class Reward.RewardBuilder
- java.lang.Object
-
- com.syntifi.casper.sdk.model.era.Reward.RewardBuilder
-
- Enclosing class:
- Reward
public static class Reward.RewardBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Reward.RewardBuilder
amount(long amount)
amountReward
build()
java.lang.String
toString()
Reward.RewardBuilder
validator(PublicKey validator)
-
-
-
Method Detail
-
validator
public Reward.RewardBuilder validator(PublicKey validator)
- Returns:
this
.- See Also:
PublicKey
-
amount
public Reward.RewardBuilder amount(long amount)
amount- Returns:
this
.
-
build
public Reward build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-