public static class StatementSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
StatementSummary |
build() |
StatementSummary.Builder |
copy(StatementSummary model) |
StatementSummary.Builder |
id(Long id)
The statement ID.
|
StatementSummary.Builder |
lifecycleState(StatementLifecycleState lifecycleState)
The current state of this statement.
|
StatementSummary.Builder |
runId(String runId)
The ID of a run.
|
StatementSummary.Builder |
timeCompleted(Date timeCompleted)
The date and time a statement execution was completed, expressed in RFC
3339 timestamp format.
|
StatementSummary.Builder |
timeCreated(Date timeCreated)
The date and time the resource was created, expressed in RFC
3339 timestamp format.
|
public StatementSummary.Builder id(Long id)
The statement ID.
id
- the value to setpublic StatementSummary.Builder lifecycleState(StatementLifecycleState lifecycleState)
The current state of this statement.
lifecycleState
- the value to setpublic StatementSummary.Builder runId(String runId)
The ID of a run.
runId
- the value to setpublic StatementSummary.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 StatementSummary.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 StatementSummary build()
public StatementSummary.Builder copy(StatementSummary model)
Copyright © 2016–2024. All rights reserved.