Struct aws_sdk_rds::types::builders::UserAuthConfigBuilder
source · #[non_exhaustive]pub struct UserAuthConfigBuilder { /* private fields */ }Expand description
A builder for UserAuthConfig.
Implementations§
source§impl UserAuthConfigBuilder
impl UserAuthConfigBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A user-specified description about the authentication used by a proxy to log in as a specific database user.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A user-specified description about the authentication used by a proxy to log in as a specific database user.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A user-specified description about the authentication used by a proxy to log in as a specific database user.
sourcepub fn user_name(self, input: impl Into<String>) -> Self
pub fn user_name(self, input: impl Into<String>) -> Self
The name of the database user to which the proxy connects.
sourcepub fn set_user_name(self, input: Option<String>) -> Self
pub fn set_user_name(self, input: Option<String>) -> Self
The name of the database user to which the proxy connects.
sourcepub fn get_user_name(&self) -> &Option<String>
pub fn get_user_name(&self) -> &Option<String>
The name of the database user to which the proxy connects.
sourcepub fn auth_scheme(self, input: AuthScheme) -> Self
pub fn auth_scheme(self, input: AuthScheme) -> Self
The type of authentication that the proxy uses for connections from the proxy to the underlying database.
sourcepub fn set_auth_scheme(self, input: Option<AuthScheme>) -> Self
pub fn set_auth_scheme(self, input: Option<AuthScheme>) -> Self
The type of authentication that the proxy uses for connections from the proxy to the underlying database.
sourcepub fn get_auth_scheme(&self) -> &Option<AuthScheme>
pub fn get_auth_scheme(&self) -> &Option<AuthScheme>
The type of authentication that the proxy uses for connections from the proxy to the underlying database.
sourcepub fn secret_arn(self, input: impl Into<String>) -> Self
pub fn secret_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager.
sourcepub fn set_secret_arn(self, input: Option<String>) -> Self
pub fn set_secret_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager.
sourcepub fn get_secret_arn(&self) -> &Option<String>
pub fn get_secret_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager.
sourcepub fn iam_auth(self, input: IamAuthMode) -> Self
pub fn iam_auth(self, input: IamAuthMode) -> Self
A value that indicates whether to require or disallow Amazon Web Services Identity and Access Management (IAM) authentication for connections to the proxy. The ENABLED value is valid only for proxies with RDS for Microsoft SQL Server.
sourcepub fn set_iam_auth(self, input: Option<IamAuthMode>) -> Self
pub fn set_iam_auth(self, input: Option<IamAuthMode>) -> Self
A value that indicates whether to require or disallow Amazon Web Services Identity and Access Management (IAM) authentication for connections to the proxy. The ENABLED value is valid only for proxies with RDS for Microsoft SQL Server.
sourcepub fn get_iam_auth(&self) -> &Option<IamAuthMode>
pub fn get_iam_auth(&self) -> &Option<IamAuthMode>
A value that indicates whether to require or disallow Amazon Web Services Identity and Access Management (IAM) authentication for connections to the proxy. The ENABLED value is valid only for proxies with RDS for Microsoft SQL Server.
sourcepub fn client_password_auth_type(self, input: ClientPasswordAuthType) -> Self
pub fn client_password_auth_type(self, input: ClientPasswordAuthType) -> Self
The type of authentication the proxy uses for connections from clients.
sourcepub fn set_client_password_auth_type(
self,
input: Option<ClientPasswordAuthType>,
) -> Self
pub fn set_client_password_auth_type( self, input: Option<ClientPasswordAuthType>, ) -> Self
The type of authentication the proxy uses for connections from clients.
sourcepub fn get_client_password_auth_type(&self) -> &Option<ClientPasswordAuthType>
pub fn get_client_password_auth_type(&self) -> &Option<ClientPasswordAuthType>
The type of authentication the proxy uses for connections from clients.
sourcepub fn build(self) -> UserAuthConfig
pub fn build(self) -> UserAuthConfig
Consumes the builder and constructs a UserAuthConfig.
Trait Implementations§
source§impl Clone for UserAuthConfigBuilder
impl Clone for UserAuthConfigBuilder
source§fn clone(&self) -> UserAuthConfigBuilder
fn clone(&self) -> UserAuthConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UserAuthConfigBuilder
impl Debug for UserAuthConfigBuilder
source§impl Default for UserAuthConfigBuilder
impl Default for UserAuthConfigBuilder
source§fn default() -> UserAuthConfigBuilder
fn default() -> UserAuthConfigBuilder
source§impl PartialEq for UserAuthConfigBuilder
impl PartialEq for UserAuthConfigBuilder
impl StructuralPartialEq for UserAuthConfigBuilder
Auto Trait Implementations§
impl Freeze for UserAuthConfigBuilder
impl RefUnwindSafe for UserAuthConfigBuilder
impl Send for UserAuthConfigBuilder
impl Sync for UserAuthConfigBuilder
impl Unpin for UserAuthConfigBuilder
impl UnwindSafe for UserAuthConfigBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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