Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Statement |
build() |
Statement.Builder |
code(String code)
The statement code to execute.
|
Statement.Builder |
copy(Statement model) |
Statement.Builder |
id(Long id)
The statement ID.
|
Statement.Builder |
lifecycleState(StatementLifecycleState lifecycleState)
The current state of this statement.
|
Statement.Builder |
output(StatementOutput output) |
Statement.Builder |
progress(Double progress)
The execution progress.
|
Statement.Builder |
runId(String runId)
The ID of a run.
|
Statement.Builder |
timeCompleted(Date timeCompleted)
The date and time a statement execution was completed, expressed in RFC
3339 timestamp format.
|
Statement.Builder |
timeCreated(Date timeCreated)
The date and time the resource was created, expressed in RFC
3339 timestamp format.
|
public Statement.Builder id(Long id)
The statement ID.
id
- the value to setpublic Statement.Builder code(String code)
The statement code to execute. Example: println(sc.version)
code
- the value to setpublic Statement.Builder lifecycleState(StatementLifecycleState lifecycleState)
The current state of this statement.
lifecycleState
- the value to setpublic Statement.Builder output(StatementOutput output)
public Statement.Builder progress(Double progress)
The execution progress.
progress
- the value to setpublic Statement.Builder runId(String runId)
The ID of a run.
runId
- the value to setpublic Statement.Builder timeCreated(Date timeCreated)
The date and time the resource was created, expressed in RFC
3339 timestamp format. Example: 2018-04-03T21:10:29.600Z
timeCreated
- the value to setpublic Statement.Builder timeCompleted(Date timeCompleted)
The date and time a statement execution was completed, expressed in RFC
3339 timestamp format. Example: 2022-05-31T21:10:29.600Z
timeCompleted
- the value to setpublic Statement build()
public Statement.Builder copy(Statement model)
Copyright © 2016–2024. All rights reserved.