#[non_exhaustive]pub struct RdsConfigurationBuilder { /* private fields */ }Expand description
A builder for RdsConfiguration.
Implementations§
source§impl RdsConfigurationBuilder
impl RdsConfigurationBuilder
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
Arn of a RDS Resource. This field is required.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
Arn of a RDS Resource.
sourcepub fn get_resource_arn(&self) -> &Option<String>
pub fn get_resource_arn(&self) -> &Option<String>
Arn of a RDS Resource.
sourcepub fn credentials_secret_arn(self, input: impl Into<String>) -> Self
pub fn credentials_secret_arn(self, input: impl Into<String>) -> Self
Arn of a SecretsManager Secret. This field is required.
sourcepub fn set_credentials_secret_arn(self, input: Option<String>) -> Self
pub fn set_credentials_secret_arn(self, input: Option<String>) -> Self
Arn of a SecretsManager Secret.
sourcepub fn get_credentials_secret_arn(&self) -> &Option<String>
pub fn get_credentials_secret_arn(&self) -> &Option<String>
Arn of a SecretsManager Secret.
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
Name of the database within RDS This field is required.
sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
Name of the database within RDS
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
Name of the database within RDS
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
Name of the table within RDS This field is required.
sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
Name of the table within RDS
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
Name of the table within RDS
sourcepub fn field_mapping(self, input: RdsFieldMapping) -> Self
pub fn field_mapping(self, input: RdsFieldMapping) -> Self
A mapping of Bedrock Knowledge Base fields to RDS column names This field is required.
sourcepub fn set_field_mapping(self, input: Option<RdsFieldMapping>) -> Self
pub fn set_field_mapping(self, input: Option<RdsFieldMapping>) -> Self
A mapping of Bedrock Knowledge Base fields to RDS column names
sourcepub fn get_field_mapping(&self) -> &Option<RdsFieldMapping>
pub fn get_field_mapping(&self) -> &Option<RdsFieldMapping>
A mapping of Bedrock Knowledge Base fields to RDS column names
sourcepub fn build(self) -> Result<RdsConfiguration, BuildError>
pub fn build(self) -> Result<RdsConfiguration, BuildError>
Consumes the builder and constructs a RdsConfiguration.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for RdsConfigurationBuilder
impl Clone for RdsConfigurationBuilder
source§fn clone(&self) -> RdsConfigurationBuilder
fn clone(&self) -> RdsConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RdsConfigurationBuilder
impl Debug for RdsConfigurationBuilder
source§impl Default for RdsConfigurationBuilder
impl Default for RdsConfigurationBuilder
source§fn default() -> RdsConfigurationBuilder
fn default() -> RdsConfigurationBuilder
source§impl PartialEq for RdsConfigurationBuilder
impl PartialEq for RdsConfigurationBuilder
source§fn eq(&self, other: &RdsConfigurationBuilder) -> bool
fn eq(&self, other: &RdsConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.