Struct aws_sdk_lightsail::operation::get_relational_database_master_user_password::builders::GetRelationalDatabaseMasterUserPasswordInputBuilder
source · #[non_exhaustive]pub struct GetRelationalDatabaseMasterUserPasswordInputBuilder { /* private fields */ }
Expand description
A builder for GetRelationalDatabaseMasterUserPasswordInput
.
Implementations§
source§impl GetRelationalDatabaseMasterUserPasswordInputBuilder
impl GetRelationalDatabaseMasterUserPasswordInputBuilder
sourcepub fn relational_database_name(self, input: impl Into<String>) -> Self
pub fn relational_database_name(self, input: impl Into<String>) -> Self
The name of your database for which to get the master user password.
This field is required.sourcepub fn set_relational_database_name(self, input: Option<String>) -> Self
pub fn set_relational_database_name(self, input: Option<String>) -> Self
The name of your database for which to get the master user password.
sourcepub fn get_relational_database_name(&self) -> &Option<String>
pub fn get_relational_database_name(&self) -> &Option<String>
The name of your database for which to get the master user password.
sourcepub fn password_version(self, input: RelationalDatabasePasswordVersion) -> Self
pub fn password_version(self, input: RelationalDatabasePasswordVersion) -> Self
The password version to return.
Specifying CURRENT
or PREVIOUS
returns the current or previous passwords respectively. Specifying PENDING
returns the newest version of the password that will rotate to CURRENT
. After the PENDING
password rotates to CURRENT
, the PENDING
password is no longer available.
Default: CURRENT
sourcepub fn set_password_version(
self,
input: Option<RelationalDatabasePasswordVersion>
) -> Self
pub fn set_password_version( self, input: Option<RelationalDatabasePasswordVersion> ) -> Self
The password version to return.
Specifying CURRENT
or PREVIOUS
returns the current or previous passwords respectively. Specifying PENDING
returns the newest version of the password that will rotate to CURRENT
. After the PENDING
password rotates to CURRENT
, the PENDING
password is no longer available.
Default: CURRENT
sourcepub fn get_password_version(&self) -> &Option<RelationalDatabasePasswordVersion>
pub fn get_password_version(&self) -> &Option<RelationalDatabasePasswordVersion>
The password version to return.
Specifying CURRENT
or PREVIOUS
returns the current or previous passwords respectively. Specifying PENDING
returns the newest version of the password that will rotate to CURRENT
. After the PENDING
password rotates to CURRENT
, the PENDING
password is no longer available.
Default: CURRENT
sourcepub fn build(
self
) -> Result<GetRelationalDatabaseMasterUserPasswordInput, BuildError>
pub fn build( self ) -> Result<GetRelationalDatabaseMasterUserPasswordInput, BuildError>
Consumes the builder and constructs a GetRelationalDatabaseMasterUserPasswordInput
.
source§impl GetRelationalDatabaseMasterUserPasswordInputBuilder
impl GetRelationalDatabaseMasterUserPasswordInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetRelationalDatabaseMasterUserPasswordOutput, SdkError<GetRelationalDatabaseMasterUserPasswordError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetRelationalDatabaseMasterUserPasswordOutput, SdkError<GetRelationalDatabaseMasterUserPasswordError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetRelationalDatabaseMasterUserPasswordInputBuilder
impl Clone for GetRelationalDatabaseMasterUserPasswordInputBuilder
source§fn clone(&self) -> GetRelationalDatabaseMasterUserPasswordInputBuilder
fn clone(&self) -> GetRelationalDatabaseMasterUserPasswordInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetRelationalDatabaseMasterUserPasswordInputBuilder
impl Default for GetRelationalDatabaseMasterUserPasswordInputBuilder
source§fn default() -> GetRelationalDatabaseMasterUserPasswordInputBuilder
fn default() -> GetRelationalDatabaseMasterUserPasswordInputBuilder
source§impl PartialEq for GetRelationalDatabaseMasterUserPasswordInputBuilder
impl PartialEq for GetRelationalDatabaseMasterUserPasswordInputBuilder
source§fn eq(
&self,
other: &GetRelationalDatabaseMasterUserPasswordInputBuilder
) -> bool
fn eq( &self, other: &GetRelationalDatabaseMasterUserPasswordInputBuilder ) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetRelationalDatabaseMasterUserPasswordInputBuilder
Auto Trait Implementations§
impl Freeze for GetRelationalDatabaseMasterUserPasswordInputBuilder
impl RefUnwindSafe for GetRelationalDatabaseMasterUserPasswordInputBuilder
impl Send for GetRelationalDatabaseMasterUserPasswordInputBuilder
impl Sync for GetRelationalDatabaseMasterUserPasswordInputBuilder
impl Unpin for GetRelationalDatabaseMasterUserPasswordInputBuilder
impl UnwindSafe for GetRelationalDatabaseMasterUserPasswordInputBuilder
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