#[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 iam_parameters(self, input: RedshiftIamParameters) -> Self
pub fn iam_parameters(self, input: RedshiftIamParameters) -> Self
An optional parameter that uses IAM authentication to grant Amazon QuickSight access to your cluster. This parameter can be used instead of DataSourceCredentials.
sourcepub fn set_iam_parameters(self, input: Option<RedshiftIamParameters>) -> Self
pub fn set_iam_parameters(self, input: Option<RedshiftIamParameters>) -> Self
An optional parameter that uses IAM authentication to grant Amazon QuickSight access to your cluster. This parameter can be used instead of DataSourceCredentials.
sourcepub fn get_iam_parameters(&self) -> &Option<RedshiftIamParameters>
pub fn get_iam_parameters(&self) -> &Option<RedshiftIamParameters>
An optional parameter that uses IAM authentication to grant Amazon QuickSight access to your cluster. This parameter can be used instead of DataSourceCredentials.
sourcepub fn build(self) -> Result<RedshiftParameters, BuildError>
pub fn build(self) -> Result<RedshiftParameters, BuildError>
Consumes the builder and constructs a RedshiftParameters
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for RedshiftParametersBuilder
impl Clone for RedshiftParametersBuilder
source§fn clone(&self) -> RedshiftParametersBuilder
fn clone(&self) -> RedshiftParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for RedshiftParametersBuilder
impl PartialEq for RedshiftParametersBuilder
source§fn eq(&self, other: &RedshiftParametersBuilder) -> bool
fn eq(&self, other: &RedshiftParametersBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.