Struct aws_sdk_quicksight::model::redshift_parameters::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for RedshiftParameters
.
Implementations§
source§impl Builder
impl Builder
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
.