Package com.syntifi.casper.sdk.model.era
Class ValidatorWeight.ValidatorWeightBuilder
- java.lang.Object
-
- com.syntifi.casper.sdk.model.era.ValidatorWeight.ValidatorWeightBuilder
-
- Enclosing class:
- ValidatorWeight
public static class ValidatorWeight.ValidatorWeightBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidatorWeight
build()
java.lang.String
toString()
ValidatorWeight.ValidatorWeightBuilder
validator(PublicKey validator)
ValidatorWeight.ValidatorWeightBuilder
weight(java.math.BigInteger weight)
Decimal representation of a 512-bit integer
-
-
-
Method Detail
-
validator
public ValidatorWeight.ValidatorWeightBuilder validator(PublicKey validator)
- Returns:
this
.- See Also:
PublicKey
-
weight
public ValidatorWeight.ValidatorWeightBuilder weight(java.math.BigInteger weight)
Decimal representation of a 512-bit integer- Returns:
this
.
-
build
public ValidatorWeight build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-