Class UnbondingPurse.UnbondingPurseBuilder
- java.lang.Object
-
- com.syntifi.casper.sdk.model.deploy.UnbondingPurse.UnbondingPurseBuilder
-
- Enclosing class:
- UnbondingPurse
public static class UnbondingPurse.UnbondingPurseBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnbondingPurse.UnbondingPurseBuilder
bondingPurse(URef bondingPurse)
the bondingPurse'sURef
UnbondingPurse
build()
UnbondingPurse.UnbondingPurseBuilder
eraOfCreation(java.math.BigInteger eraOfCreation)
Era in which this unbonding request was created.java.lang.String
toString()
UnbondingPurse.UnbondingPurseBuilder
unbonderPublicKey(PublicKey unbonderPublicKey)
UnbondersPublicKey
UnbondingPurse.UnbondingPurseBuilder
unbondingAmount(java.math.BigInteger unbondingAmount)
Unbonding amountUnbondingPurse.UnbondingPurseBuilder
validatorPublicKey(PublicKey validatorPublicKey)
ValidatorsPublicKey
-
-
-
Method Detail
-
unbondingAmount
public UnbondingPurse.UnbondingPurseBuilder unbondingAmount(java.math.BigInteger unbondingAmount)
Unbonding amount- Returns:
this
.
-
bondingPurse
public UnbondingPurse.UnbondingPurseBuilder bondingPurse(URef bondingPurse)
the bondingPurse'sURef
- Returns:
this
.
-
eraOfCreation
public UnbondingPurse.UnbondingPurseBuilder eraOfCreation(java.math.BigInteger eraOfCreation)
Era in which this unbonding request was created.- Returns:
this
.
-
unbonderPublicKey
public UnbondingPurse.UnbondingPurseBuilder unbonderPublicKey(PublicKey unbonderPublicKey)
UnbondersPublicKey
- Returns:
this
.
-
validatorPublicKey
public UnbondingPurse.UnbondingPurseBuilder validatorPublicKey(PublicKey validatorPublicKey)
ValidatorsPublicKey
- Returns:
this
.
-
build
public UnbondingPurse build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-