public static final class InvocationResult.Builder
extends java.lang.Object
InvocationResult.| Constructor and Description |
|---|
Builder(InvocationResult.ResultType resultType)
Constructor with parameters for the required properties of
InvocationResult. |
| Modifier and Type | Method and Description |
|---|---|
InvocationResult |
build() |
InvocationResult.Builder |
setError(Structure error)
Error result value.
|
InvocationResult.Builder |
setOutput(DataValue output)
Normal result value.
|
public Builder(InvocationResult.ResultType resultType)
InvocationResult.public InvocationResult.Builder setOutput(DataValue output)
getResultType() is InvocationResult.ResultType.NORMAL_RESULT.output - New value for the property.public InvocationResult.Builder setError(Structure error)
getResultType() is InvocationResult.ResultType.ERROR_RESULT.error - New value for the property.public InvocationResult build()