#[non_exhaustive]pub struct RedshiftParametersBuilder { /* private fields */ }Expand description
A builder for RedshiftParameters.
Implementations§
source§impl RedshiftParametersBuilder
impl RedshiftParametersBuilder
sourcepub fn host(self, input: impl Into<String>) -> Self
pub fn host(self, input: impl Into<String>) -> Self
Host. This field can be blank if ClusterId is provided.
sourcepub fn set_host(self, input: Option<String>) -> Self
pub fn set_host(self, input: Option<String>) -> Self
Host. This field can be blank if ClusterId is provided.
sourcepub fn get_host(&self) -> &Option<String>
pub fn get_host(&self) -> &Option<String>
Host. This field can be blank if ClusterId is provided.
sourcepub fn port(self, input: i32) -> Self
pub fn port(self, input: i32) -> Self
Port. This field can be blank if the ClusterId is provided.
sourcepub fn set_port(self, input: Option<i32>) -> Self
pub fn set_port(self, input: Option<i32>) -> Self
Port. This field can be blank if the ClusterId is provided.
sourcepub fn get_port(&self) -> &Option<i32>
pub fn get_port(&self) -> &Option<i32>
Port. This field can be blank if the ClusterId is provided.
sourcepub fn set_database(self, input: Option<String>) -> Self
pub fn set_database(self, input: Option<String>) -> Self
Database.
sourcepub fn get_database(&self) -> &Option<String>
pub fn get_database(&self) -> &Option<String>
Database.
sourcepub fn cluster_id(self, input: impl Into<String>) -> Self
pub fn cluster_id(self, input: impl Into<String>) -> Self
Cluster ID. This field can be blank if the Host and Port are provided.
sourcepub fn set_cluster_id(self, input: Option<String>) -> Self
pub fn set_cluster_id(self, input: Option<String>) -> Self
Cluster ID. This field can be blank if the Host and Port are provided.
sourcepub fn get_cluster_id(&self) -> &Option<String>
pub fn get_cluster_id(&self) -> &Option<String>
Cluster ID. This field can be blank if the Host and Port are provided.
sourcepub fn build(self) -> RedshiftParameters
pub fn build(self) -> RedshiftParameters
Consumes the builder and constructs a RedshiftParameters.
Trait Implementations§
source§impl Clone for RedshiftParametersBuilder
impl Clone for RedshiftParametersBuilder
source§fn clone(&self) -> RedshiftParametersBuilder
fn clone(&self) -> RedshiftParametersBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RedshiftParametersBuilder
impl Debug for RedshiftParametersBuilder
source§impl Default for RedshiftParametersBuilder
impl Default for RedshiftParametersBuilder
source§fn default() -> RedshiftParametersBuilder
fn default() -> RedshiftParametersBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<RedshiftParametersBuilder> for RedshiftParametersBuilder
impl PartialEq<RedshiftParametersBuilder> for RedshiftParametersBuilder
source§fn eq(&self, other: &RedshiftParametersBuilder) -> bool
fn eq(&self, other: &RedshiftParametersBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RedshiftParametersBuilder
Auto Trait Implementations§
impl RefUnwindSafe for RedshiftParametersBuilder
impl Send for RedshiftParametersBuilder
impl Sync for RedshiftParametersBuilder
impl Unpin for RedshiftParametersBuilder
impl UnwindSafe for RedshiftParametersBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more