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 ==
.impl StructuralPartialEq for GetClusterCredentialsWithIamOutputBuilder
Auto Trait Implementations§
impl Freeze for GetClusterCredentialsWithIamOutputBuilder
impl RefUnwindSafe for GetClusterCredentialsWithIamOutputBuilder
impl Send for GetClusterCredentialsWithIamOutputBuilder
impl Sync for GetClusterCredentialsWithIamOutputBuilder
impl Unpin for GetClusterCredentialsWithIamOutputBuilder
impl UnwindSafe for GetClusterCredentialsWithIamOutputBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more