#[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 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 set_database(self, input: Option<String>) -> Self
pub fn set_database(self, input: Option<String>) -> Self
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 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 ==
.