pub struct Builder { /* private fields */ }
Expand description
A builder for AuroraPostgreSqlParameters
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn host(self, input: impl Into<String>) -> Self
pub fn host(self, input: impl Into<String>) -> Self
The Amazon Aurora PostgreSQL-Compatible host to connect to.
sourcepub fn set_host(self, input: Option<String>) -> Self
pub fn set_host(self, input: Option<String>) -> Self
The Amazon Aurora PostgreSQL-Compatible host to connect to.
sourcepub fn set_port(self, input: Option<i32>) -> Self
pub fn set_port(self, input: Option<i32>) -> Self
The port that Amazon Aurora PostgreSQL is listening on.
sourcepub fn database(self, input: impl Into<String>) -> Self
pub fn database(self, input: impl Into<String>) -> Self
The Amazon Aurora PostgreSQL database to connect to.
sourcepub fn set_database(self, input: Option<String>) -> Self
pub fn set_database(self, input: Option<String>) -> Self
The Amazon Aurora PostgreSQL database to connect to.
sourcepub fn build(self) -> AuroraPostgreSqlParameters
pub fn build(self) -> AuroraPostgreSqlParameters
Consumes the builder and constructs a AuroraPostgreSqlParameters
.