Class Failure.FailureBuilder
- java.lang.Object
-
- com.syntifi.casper.sdk.model.deploy.executionresult.Failure.FailureBuilder
-
- Enclosing class:
- Failure
public static class Failure.FailureBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Failure
build()
Failure.FailureBuilder
cost(java.math.BigInteger cost)
The cost of executing the deploy.Failure.FailureBuilder
effect(ExecutionEffect effect)
Failure.FailureBuilder
errorMessage(java.lang.String errorMessage)
The error message associated with executing the deployjava.lang.String
toString()
Failure.FailureBuilder
transfers(java.util.List<java.lang.String> transfers)
List of Hex-encoded transfer address.
-
-
-
Method Detail
-
cost
public Failure.FailureBuilder cost(java.math.BigInteger cost)
The cost of executing the deploy.- Returns:
this
.
-
effect
public Failure.FailureBuilder effect(ExecutionEffect effect)
- Returns:
this
.- See Also:
ExecutionEffect
-
errorMessage
public Failure.FailureBuilder errorMessage(java.lang.String errorMessage)
The error message associated with executing the deploy- Returns:
this
.
-
transfers
public Failure.FailureBuilder transfers(java.util.List<java.lang.String> transfers)
List of Hex-encoded transfer address.- Returns:
this
.
-
build
public Failure build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-