Package com.syntifi.casper.sdk.model.bid
Class Delegator.DelegatorBuilder
- java.lang.Object
-
- com.syntifi.casper.sdk.model.bid.Delegator.DelegatorBuilder
-
- Enclosing class:
- Delegator
public static class Delegator.DelegatorBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Delegator.DelegatorBuilder
bondingPurse(URef bondingPurse)
Delegator
build()
Delegator.DelegatorBuilder
delegatorPublicKey(PublicKey delegatorPublicKey)
Delegator.DelegatorBuilder
stakedAmount(java.math.BigInteger stakedAmount)
staked amountjava.lang.String
toString()
Delegator.DelegatorBuilder
validatorPublicKey(PublicKey validatorPublicKey)
Delegator.DelegatorBuilder
vestingSchedule(VestingSchedule vestingSchedule)
-
-
-
Method Detail
-
validatorPublicKey
public Delegator.DelegatorBuilder validatorPublicKey(PublicKey validatorPublicKey)
- Returns:
this
.- See Also:
PublicKey
-
vestingSchedule
public Delegator.DelegatorBuilder vestingSchedule(VestingSchedule vestingSchedule)
- Returns:
this
.- See Also:
VestingSchedule
-
bondingPurse
public Delegator.DelegatorBuilder bondingPurse(URef bondingPurse)
- Returns:
this
.- See Also:
URef
-
delegatorPublicKey
public Delegator.DelegatorBuilder delegatorPublicKey(PublicKey delegatorPublicKey)
- Returns:
this
.- See Also:
PublicKey
-
stakedAmount
public Delegator.DelegatorBuilder stakedAmount(java.math.BigInteger stakedAmount)
staked amount- Returns:
this
.
-
build
public Delegator build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-