Package com.oracle.bmc.dataflow.model
Class Statement.Builder
- java.lang.Object
-
- com.oracle.bmc.dataflow.model.Statement.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
id
public Statement.Builder id(Long id)
The statement ID.- Parameters:
id
- the value to set- Returns:
- this builder
-
code
public Statement.Builder code(String code)
The statement code to execute.Example: println(sc.version)
- Parameters:
code
- the value to set- Returns:
- this builder
-
lifecycleState
public Statement.Builder lifecycleState(StatementLifecycleState lifecycleState)
The current state of this statement.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
output
public Statement.Builder output(StatementOutput output)
-
progress
public Statement.Builder progress(Double progress)
The execution progress.- Parameters:
progress
- the value to set- Returns:
- this builder
-
runId
public Statement.Builder runId(String runId)
The ID of a run.- Parameters:
runId
- the value to set- Returns:
- this builder
-
timeCreated
public 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
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeCompleted
public 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
- Parameters:
timeCompleted
- the value to set- Returns:
- this builder
-
build
public Statement build()
-
copy
public Statement.Builder copy(Statement model)
-
-