Interface StatementData.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StatementData.Builder,
,StatementData> SdkBuilder<StatementData.Builder,
,StatementData> SdkPojo
- Enclosing class:
StatementData
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time (UTC) the statement was created.The SQL statement identifier.isBatchStatement
(Boolean isBatchStatement) A value that indicates whether the statement is a batch query request.queryParameters
(Collection<SqlParameter> queryParameters) The parameters used in a SQL statement.queryParameters
(Consumer<SqlParameter.Builder>... queryParameters) The parameters used in a SQL statement.queryParameters
(SqlParameter... queryParameters) The parameters used in a SQL statement.queryString
(String queryString) The SQL statement.queryStrings
(String... queryStrings) One or more SQL statements.queryStrings
(Collection<String> queryStrings) One or more SQL statements.The name or Amazon Resource Name (ARN) of the secret that enables access to the database.statementName
(String statementName) The name of the SQL statement.The status of the SQL statement.status
(StatusString status) The status of the SQL statement.The date and time (UTC) that the statement metadata was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
createdAt
The date and time (UTC) the statement was created.
- Parameters:
createdAt
- The date and time (UTC) the statement was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The SQL statement identifier. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.
- Parameters:
id
- The SQL statement identifier. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isBatchStatement
A value that indicates whether the statement is a batch query request.
- Parameters:
isBatchStatement
- A value that indicates whether the statement is a batch query request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryParameters
The parameters used in a SQL statement.
- Parameters:
queryParameters
- The parameters used in a SQL statement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryParameters
The parameters used in a SQL statement.
- Parameters:
queryParameters
- The parameters used in a SQL statement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaSqlParameter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toqueryParameters(List<SqlParameter>)
.- Parameters:
queryParameters
- a consumer that will call methods onSqlParameter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
queryString
The SQL statement.
- Parameters:
queryString
- The SQL statement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryStrings
One or more SQL statements. Each query string in the array corresponds to one of the queries in a batch query request.
- Parameters:
queryStrings
- One or more SQL statements. Each query string in the array corresponds to one of the queries in a batch query request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryStrings
One or more SQL statements. Each query string in the array corresponds to one of the queries in a batch query request.
- Parameters:
queryStrings
- One or more SQL statements. Each query string in the array corresponds to one of the queries in a batch query request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretArn
The name or Amazon Resource Name (ARN) of the secret that enables access to the database.
- Parameters:
secretArn
- The name or Amazon Resource Name (ARN) of the secret that enables access to the database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statementName
The name of the SQL statement.
- Parameters:
statementName
- The name of the SQL statement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the SQL statement. An example is the that the SQL statement finished.
- Parameters:
status
- The status of the SQL statement. An example is the that the SQL statement finished.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the SQL statement. An example is the that the SQL statement finished.
- Parameters:
status
- The status of the SQL statement. An example is the that the SQL statement finished.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updatedAt
The date and time (UTC) that the statement metadata was last updated.
- Parameters:
updatedAt
- The date and time (UTC) that the statement metadata was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-