#[non_exhaustive]pub struct ExecuteSqlInputBuilder { /* private fields */ }Expand description
A builder for ExecuteSqlInput.
Implementations§
source§impl ExecuteSqlInputBuilder
impl ExecuteSqlInputBuilder
sourcepub fn db_cluster_or_instance_arn(self, input: impl Into<String>) -> Self
pub fn db_cluster_or_instance_arn(self, input: impl Into<String>) -> Self
The ARN of the Aurora Serverless DB cluster.
This field is required.sourcepub fn set_db_cluster_or_instance_arn(self, input: Option<String>) -> Self
pub fn set_db_cluster_or_instance_arn(self, input: Option<String>) -> Self
The ARN of the Aurora Serverless DB cluster.
sourcepub fn get_db_cluster_or_instance_arn(&self) -> &Option<String>
pub fn get_db_cluster_or_instance_arn(&self) -> &Option<String>
The ARN of the Aurora Serverless DB cluster.
sourcepub fn aws_secret_store_arn(self, input: impl Into<String>) -> Self
pub fn aws_secret_store_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the secret that enables access to the DB cluster. Enter the database user name and password for the credentials in the secret.
For information about creating the secret, see Create a database secret.
This field is required.sourcepub fn set_aws_secret_store_arn(self, input: Option<String>) -> Self
pub fn set_aws_secret_store_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the secret that enables access to the DB cluster. Enter the database user name and password for the credentials in the secret.
For information about creating the secret, see Create a database secret.
sourcepub fn get_aws_secret_store_arn(&self) -> &Option<String>
pub fn get_aws_secret_store_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the secret that enables access to the DB cluster. Enter the database user name and password for the credentials in the secret.
For information about creating the secret, see Create a database secret.
sourcepub fn sql_statements(self, input: impl Into<String>) -> Self
pub fn sql_statements(self, input: impl Into<String>) -> Self
One or more SQL statements to run on the DB cluster.
You can separate SQL statements from each other with a semicolon (;). Any valid SQL statement is permitted, including data definition, data manipulation, and commit statements.
This field is required.sourcepub fn set_sql_statements(self, input: Option<String>) -> Self
pub fn set_sql_statements(self, input: Option<String>) -> Self
One or more SQL statements to run on the DB cluster.
You can separate SQL statements from each other with a semicolon (;). Any valid SQL statement is permitted, including data definition, data manipulation, and commit statements.
sourcepub fn get_sql_statements(&self) -> &Option<String>
pub fn get_sql_statements(&self) -> &Option<String>
One or more SQL statements to run on the DB cluster.
You can separate SQL statements from each other with a semicolon (;). Any valid SQL statement is permitted, including data definition, data manipulation, and commit statements.
sourcepub fn set_database(self, input: Option<String>) -> Self
pub fn set_database(self, input: Option<String>) -> Self
The name of the database.
sourcepub fn get_database(&self) -> &Option<String>
pub fn get_database(&self) -> &Option<String>
The name of the database.
sourcepub fn set_schema(self, input: Option<String>) -> Self
pub fn set_schema(self, input: Option<String>) -> Self
The name of the database schema.
sourcepub fn get_schema(&self) -> &Option<String>
pub fn get_schema(&self) -> &Option<String>
The name of the database schema.
sourcepub fn build(self) -> Result<ExecuteSqlInput, BuildError>
pub fn build(self) -> Result<ExecuteSqlInput, BuildError>
Consumes the builder and constructs a ExecuteSqlInput.
source§impl ExecuteSqlInputBuilder
impl ExecuteSqlInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ExecuteSqlOutput, SdkError<ExecuteSqlError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ExecuteSqlOutput, SdkError<ExecuteSqlError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ExecuteSqlInputBuilder
impl Clone for ExecuteSqlInputBuilder
source§fn clone(&self) -> ExecuteSqlInputBuilder
fn clone(&self) -> ExecuteSqlInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ExecuteSqlInputBuilder
impl Debug for ExecuteSqlInputBuilder
source§impl Default for ExecuteSqlInputBuilder
impl Default for ExecuteSqlInputBuilder
source§fn default() -> ExecuteSqlInputBuilder
fn default() -> ExecuteSqlInputBuilder
source§impl PartialEq for ExecuteSqlInputBuilder
impl PartialEq for ExecuteSqlInputBuilder
source§fn eq(&self, other: &ExecuteSqlInputBuilder) -> bool
fn eq(&self, other: &ExecuteSqlInputBuilder) -> bool
self and other values to be equal, and is used
by ==.