public static interface StatementData.Builder extends SdkPojo, CopyableBuilder<StatementData.Builder,StatementData>
| Modifier and Type | Method and Description |
|---|---|
StatementData.Builder |
createdAt(Instant createdAt)
The date and time (UTC) the statement was created.
|
StatementData.Builder |
id(String id)
The SQL statement identifier.
|
StatementData.Builder |
isBatchStatement(Boolean isBatchStatement)
A value that indicates whether the statement is a batch query request.
|
StatementData.Builder |
queryParameters(Collection<SqlParameter> queryParameters)
The parameters used in a SQL statement.
|
StatementData.Builder |
queryParameters(Consumer<SqlParameter.Builder>... queryParameters)
The parameters used in a SQL statement.
|
StatementData.Builder |
queryParameters(SqlParameter... queryParameters)
The parameters used in a SQL statement.
|
StatementData.Builder |
queryString(String queryString)
The SQL statement.
|
StatementData.Builder |
queryStrings(Collection<String> queryStrings)
One or more SQL statements.
|
StatementData.Builder |
queryStrings(String... queryStrings)
One or more SQL statements.
|
StatementData.Builder |
secretArn(String secretArn)
The name or Amazon Resource Name (ARN) of the secret that enables access to the database.
|
StatementData.Builder |
statementName(String statementName)
The name of the SQL statement.
|
StatementData.Builder |
status(StatusString status)
The status of the SQL statement.
|
StatementData.Builder |
status(String status)
The status of the SQL statement.
|
StatementData.Builder |
updatedAt(Instant updatedAt)
The date and time (UTC) that the statement metadata was last updated.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildStatementData.Builder createdAt(Instant createdAt)
The date and time (UTC) the statement was created.
createdAt - The date and time (UTC) the statement was created.StatementData.Builder id(String id)
The SQL statement identifier. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.
id - The SQL statement identifier. This value is a universally unique identifier (UUID) generated by Amazon
Redshift Data API.StatementData.Builder isBatchStatement(Boolean isBatchStatement)
A value that indicates whether the statement is a batch query request.
isBatchStatement - A value that indicates whether the statement is a batch query request.StatementData.Builder queryParameters(Collection<SqlParameter> queryParameters)
The parameters used in a SQL statement.
queryParameters - The parameters used in a SQL statement.StatementData.Builder queryParameters(SqlParameter... queryParameters)
The parameters used in a SQL statement.
queryParameters - The parameters used in a SQL statement.StatementData.Builder queryParameters(Consumer<SqlParameter.Builder>... queryParameters)
The parameters used in a SQL statement.
This is a convenience method that creates an instance of theSqlParameter.Builder avoiding the need to create
one manually via SqlParameter.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #queryParameters(List.
queryParameters - a consumer that will call methods on
SqlParameter.Builder#queryParameters(java.util.Collection) StatementData.Builder queryString(String queryString)
The SQL statement.
queryString - The SQL statement.StatementData.Builder queryStrings(Collection<String> queryStrings)
One or more SQL statements. Each query string in the array corresponds to one of the queries in a batch query request.
queryStrings - One or more SQL statements. Each query string in the array corresponds to one of the queries in a
batch query request.StatementData.Builder queryStrings(String... queryStrings)
One or more SQL statements. Each query string in the array corresponds to one of the queries in a batch query request.
queryStrings - One or more SQL statements. Each query string in the array corresponds to one of the queries in a
batch query request.StatementData.Builder secretArn(String secretArn)
The name or Amazon Resource Name (ARN) of the secret that enables access to the database.
secretArn - The name or Amazon Resource Name (ARN) of the secret that enables access to the database.StatementData.Builder statementName(String statementName)
The name of the SQL statement.
statementName - The name of the SQL statement.StatementData.Builder status(String status)
The status of the SQL statement. An example is the that the SQL statement finished.
status - The status of the SQL statement. An example is the that the SQL statement finished.StatusString,
StatusStringStatementData.Builder status(StatusString status)
The status of the SQL statement. An example is the that the SQL statement finished.
status - The status of the SQL statement. An example is the that the SQL statement finished.StatusString,
StatusStringStatementData.Builder updatedAt(Instant updatedAt)
The date and time (UTC) that the statement metadata was last updated.
updatedAt - The date and time (UTC) that the statement metadata was last updated.Copyright © 2022. All rights reserved.