Struct aws_sdk_quicksight::types::RedshiftParameters
source · #[non_exhaustive]pub struct RedshiftParameters {
pub host: Option<String>,
pub port: i32,
pub database: Option<String>,
pub cluster_id: Option<String>,
}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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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: i32Port. This field can be blank if the ClusterId is provided.
database: Option<String>Database.
cluster_id: Option<String>Cluster ID. This field can be blank if the Host and Port are provided.
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.
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
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 RedshiftParameters
impl Debug for RedshiftParameters
source§impl PartialEq<RedshiftParameters> for RedshiftParameters
impl PartialEq<RedshiftParameters> for RedshiftParameters
source§fn eq(&self, other: &RedshiftParameters) -> bool
fn eq(&self, other: &RedshiftParameters) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RedshiftParameters
Auto Trait Implementations§
impl RefUnwindSafe for RedshiftParameters
impl Send for RedshiftParameters
impl Sync for RedshiftParameters
impl Unpin for RedshiftParameters
impl UnwindSafe for RedshiftParameters
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