public static interface Statement.Builder extends SdkPojo, CopyableBuilder<Statement.Builder,Statement>
| Modifier and Type | Method and Description |
|---|---|
Statement.Builder |
code(String code)
The execution code of the statement.
|
Statement.Builder |
completedOn(Long completedOn)
The unix time and date that the job definition was completed.
|
Statement.Builder |
id(Integer id)
The ID of the statement.
|
default Statement.Builder |
output(Consumer<StatementOutput.Builder> output)
The output in JSON.
|
Statement.Builder |
output(StatementOutput output)
The output in JSON.
|
Statement.Builder |
progress(Double progress)
The code execution progress.
|
Statement.Builder |
startedOn(Long startedOn)
The unix time and date that the job definition was started.
|
Statement.Builder |
state(StatementState state)
The state while request is actioned.
|
Statement.Builder |
state(String state)
The state while request is actioned.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildStatement.Builder id(Integer id)
The ID of the statement.
id - The ID of the statement.Statement.Builder code(String code)
The execution code of the statement.
code - The execution code of the statement.Statement.Builder state(String state)
The state while request is actioned.
state - The state while request is actioned.StatementState,
StatementStateStatement.Builder state(StatementState state)
The state while request is actioned.
state - The state while request is actioned.StatementState,
StatementStateStatement.Builder output(StatementOutput output)
The output in JSON.
output - The output in JSON.default Statement.Builder output(Consumer<StatementOutput.Builder> output)
The output in JSON.
This is a convenience method that creates an instance of theStatementOutput.Builder avoiding the
need to create one manually via StatementOutput.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to output(StatementOutput).
output - a consumer that will call methods on StatementOutput.Builderoutput(StatementOutput)Statement.Builder progress(Double progress)
The code execution progress.
progress - The code execution progress.Statement.Builder startedOn(Long startedOn)
The unix time and date that the job definition was started.
startedOn - The unix time and date that the job definition was started.Statement.Builder completedOn(Long completedOn)
The unix time and date that the job definition was completed.
completedOn - The unix time and date that the job definition was completed.Copyright © 2023. All rights reserved.