Struct aws_sdk_quicksight::types::RedshiftParameters
source · #[non_exhaustive]pub struct RedshiftParameters {
pub host: Option<String>,
pub port: i32,
pub database: String,
pub cluster_id: Option<String>,
pub iam_parameters: Option<RedshiftIamParameters>,
}
Expand description
The parameters for Amazon Redshift. The ClusterId
field can be blank if Host
and Port
are both set. The Host
and Port
fields can be blank if the ClusterId
field is set.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.host: Option<String>
Host. This field can be blank if ClusterId
is provided.
port: i32
Port. This field can be blank if the ClusterId
is provided.
database: String
Database.
cluster_id: Option<String>
Cluster ID. This field can be blank if the Host
and Port
are provided.
iam_parameters: 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.
Implementations§
source§impl RedshiftParameters
impl RedshiftParameters
sourcepub fn cluster_id(&self) -> Option<&str>
pub fn cluster_id(&self) -> Option<&str>
Cluster ID. This field can be blank if the Host
and Port
are provided.
sourcepub fn iam_parameters(&self) -> Option<&RedshiftIamParameters>
pub fn 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.
source§impl RedshiftParameters
impl RedshiftParameters
sourcepub fn builder() -> RedshiftParametersBuilder
pub fn builder() -> RedshiftParametersBuilder
Creates a new builder-style object to manufacture RedshiftParameters
.
Trait Implementations§
source§impl Clone for RedshiftParameters
impl Clone for RedshiftParameters
source§fn clone(&self) -> RedshiftParameters
fn clone(&self) -> RedshiftParameters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RedshiftParameters
impl Debug for RedshiftParameters
source§impl PartialEq for RedshiftParameters
impl PartialEq for RedshiftParameters
source§fn eq(&self, other: &RedshiftParameters) -> bool
fn eq(&self, other: &RedshiftParameters) -> bool
self
and other
values to be equal, and is used
by ==
.