Struct aws_sdk_redshiftdata::operation::batch_execute_statement::builders::BatchExecuteStatementOutputBuilder
source · #[non_exhaustive]pub struct BatchExecuteStatementOutputBuilder { /* private fields */ }Expand description
A builder for BatchExecuteStatementOutput.
Implementations§
source§impl BatchExecuteStatementOutputBuilder
impl BatchExecuteStatementOutputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the SQL statement whose results are to be fetched. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. This identifier is returned by BatchExecuteStatment.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier of the SQL statement whose results are to be fetched. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. This identifier is returned by BatchExecuteStatment.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The identifier of the SQL statement whose results are to be fetched. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. This identifier is returned by BatchExecuteStatment.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date and time (UTC) the statement was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The date and time (UTC) the statement was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The date and time (UTC) the statement was created.
sourcepub fn cluster_identifier(self, input: impl Into<String>) -> Self
pub fn cluster_identifier(self, input: impl Into<String>) -> Self
The cluster identifier. This element is not returned when connecting to a serverless workgroup.
sourcepub fn set_cluster_identifier(self, input: Option<String>) -> Self
pub fn set_cluster_identifier(self, input: Option<String>) -> Self
The cluster identifier. This element is not returned when connecting to a serverless workgroup.
sourcepub fn get_cluster_identifier(&self) -> &Option<String>
pub fn get_cluster_identifier(&self) -> &Option<String>
The cluster identifier. This element is not returned when connecting to a serverless workgroup.
sourcepub fn set_db_user(self, input: Option<String>) -> Self
pub fn set_db_user(self, input: Option<String>) -> Self
The database user name.
sourcepub fn get_db_user(&self) -> &Option<String>
pub fn get_db_user(&self) -> &Option<String>
The database user name.
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 secret_arn(self, input: impl Into<String>) -> Self
pub fn secret_arn(self, input: impl Into<String>) -> Self
The name or ARN of the secret that enables access to the database.
sourcepub fn set_secret_arn(self, input: Option<String>) -> Self
pub fn set_secret_arn(self, input: Option<String>) -> Self
The name or ARN of the secret that enables access to the database.
sourcepub fn get_secret_arn(&self) -> &Option<String>
pub fn get_secret_arn(&self) -> &Option<String>
The name or ARN of the secret that enables access to the database.
sourcepub fn workgroup_name(self, input: impl Into<String>) -> Self
pub fn workgroup_name(self, input: impl Into<String>) -> Self
The serverless workgroup name or Amazon Resource Name (ARN). This element is not returned when connecting to a provisioned cluster.
sourcepub fn set_workgroup_name(self, input: Option<String>) -> Self
pub fn set_workgroup_name(self, input: Option<String>) -> Self
The serverless workgroup name or Amazon Resource Name (ARN). This element is not returned when connecting to a provisioned cluster.
sourcepub fn get_workgroup_name(&self) -> &Option<String>
pub fn get_workgroup_name(&self) -> &Option<String>
The serverless workgroup name or Amazon Resource Name (ARN). This element is not returned when connecting to a provisioned cluster.
sourcepub fn build(self) -> BatchExecuteStatementOutput
pub fn build(self) -> BatchExecuteStatementOutput
Consumes the builder and constructs a BatchExecuteStatementOutput.
Trait Implementations§
source§impl Clone for BatchExecuteStatementOutputBuilder
impl Clone for BatchExecuteStatementOutputBuilder
source§fn clone(&self) -> BatchExecuteStatementOutputBuilder
fn clone(&self) -> BatchExecuteStatementOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for BatchExecuteStatementOutputBuilder
impl Default for BatchExecuteStatementOutputBuilder
source§fn default() -> BatchExecuteStatementOutputBuilder
fn default() -> BatchExecuteStatementOutputBuilder
source§impl PartialEq for BatchExecuteStatementOutputBuilder
impl PartialEq for BatchExecuteStatementOutputBuilder
source§fn eq(&self, other: &BatchExecuteStatementOutputBuilder) -> bool
fn eq(&self, other: &BatchExecuteStatementOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.