Struct aws_sdk_redshift::operation::get_cluster_credentials_with_iam::builders::GetClusterCredentialsWithIamOutputBuilder
source · #[non_exhaustive]pub struct GetClusterCredentialsWithIamOutputBuilder { /* private fields */ }
Expand description
A builder for GetClusterCredentialsWithIamOutput
.
Implementations§
source§impl GetClusterCredentialsWithIamOutputBuilder
impl GetClusterCredentialsWithIamOutputBuilder
sourcepub fn db_user(self, input: impl Into<String>) -> Self
pub fn db_user(self, input: impl Into<String>) -> Self
A database user name that you provide when you connect to a database. The database user is mapped 1:1 to the source IAM identity.
sourcepub fn set_db_user(self, input: Option<String>) -> Self
pub fn set_db_user(self, input: Option<String>) -> Self
A database user name that you provide when you connect to a database. The database user is mapped 1:1 to the source IAM identity.
sourcepub fn get_db_user(&self) -> &Option<String>
pub fn get_db_user(&self) -> &Option<String>
A database user name that you provide when you connect to a database. The database user is mapped 1:1 to the source IAM identity.
sourcepub fn db_password(self, input: impl Into<String>) -> Self
pub fn db_password(self, input: impl Into<String>) -> Self
A temporary password that you provide when you connect to a database.
sourcepub fn set_db_password(self, input: Option<String>) -> Self
pub fn set_db_password(self, input: Option<String>) -> Self
A temporary password that you provide when you connect to a database.
sourcepub fn get_db_password(&self) -> &Option<String>
pub fn get_db_password(&self) -> &Option<String>
A temporary password that you provide when you connect to a database.
sourcepub fn expiration(self, input: DateTime) -> Self
pub fn expiration(self, input: DateTime) -> Self
The time (UTC) when the temporary password expires. After this timestamp, a log in with the temporary password fails.
sourcepub fn set_expiration(self, input: Option<DateTime>) -> Self
pub fn set_expiration(self, input: Option<DateTime>) -> Self
The time (UTC) when the temporary password expires. After this timestamp, a log in with the temporary password fails.
sourcepub fn get_expiration(&self) -> &Option<DateTime>
pub fn get_expiration(&self) -> &Option<DateTime>
The time (UTC) when the temporary password expires. After this timestamp, a log in with the temporary password fails.
sourcepub fn next_refresh_time(self, input: DateTime) -> Self
pub fn next_refresh_time(self, input: DateTime) -> Self
Reserved for future use.
sourcepub fn set_next_refresh_time(self, input: Option<DateTime>) -> Self
pub fn set_next_refresh_time(self, input: Option<DateTime>) -> Self
Reserved for future use.
sourcepub fn get_next_refresh_time(&self) -> &Option<DateTime>
pub fn get_next_refresh_time(&self) -> &Option<DateTime>
Reserved for future use.
sourcepub fn build(self) -> GetClusterCredentialsWithIamOutput
pub fn build(self) -> GetClusterCredentialsWithIamOutput
Consumes the builder and constructs a GetClusterCredentialsWithIamOutput
.
Trait Implementations§
source§impl Clone for GetClusterCredentialsWithIamOutputBuilder
impl Clone for GetClusterCredentialsWithIamOutputBuilder
source§fn clone(&self) -> GetClusterCredentialsWithIamOutputBuilder
fn clone(&self) -> GetClusterCredentialsWithIamOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetClusterCredentialsWithIamOutputBuilder
impl Default for GetClusterCredentialsWithIamOutputBuilder
source§fn default() -> GetClusterCredentialsWithIamOutputBuilder
fn default() -> GetClusterCredentialsWithIamOutputBuilder
source§impl PartialEq for GetClusterCredentialsWithIamOutputBuilder
impl PartialEq for GetClusterCredentialsWithIamOutputBuilder
source§fn eq(&self, other: &GetClusterCredentialsWithIamOutputBuilder) -> bool
fn eq(&self, other: &GetClusterCredentialsWithIamOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.