Package com.syntifi.casper.sdk.model.era
Class JsonEraReport.JsonEraReportBuilder
- java.lang.Object
-
- com.syntifi.casper.sdk.model.era.JsonEraReport.JsonEraReportBuilder
-
- Enclosing class:
- JsonEraReport
public static class JsonEraReport.JsonEraReportBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonEraReport
build()
JsonEraReport.JsonEraReportBuilder
equivocators(java.util.List<PublicKey> equivocators)
List of @see PublicKeyJsonEraReport.JsonEraReportBuilder
inactiveValidators(java.util.List<PublicKey> inactiveValidators)
List of @see PublicKeyJsonEraReport.JsonEraReportBuilder
rewards(java.util.List<Reward> rewards)
List of @see Rewardjava.lang.String
toString()
-
-
-
Method Detail
-
inactiveValidators
public JsonEraReport.JsonEraReportBuilder inactiveValidators(java.util.List<PublicKey> inactiveValidators)
List of @see PublicKey- Returns:
this
.
-
equivocators
public JsonEraReport.JsonEraReportBuilder equivocators(java.util.List<PublicKey> equivocators)
List of @see PublicKey- Returns:
this
.
-
rewards
public JsonEraReport.JsonEraReportBuilder rewards(java.util.List<Reward> rewards)
List of @see Reward- Returns:
this
.
-
build
public JsonEraReport build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-