Struct aws_sdk_rds::types::builders::UserAuthConfigInfoBuilder
source · #[non_exhaustive]pub struct UserAuthConfigInfoBuilder { /* private fields */ }
Expand description
A builder for UserAuthConfigInfo
.
Implementations§
source§impl UserAuthConfigInfoBuilder
impl UserAuthConfigInfoBuilder
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
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
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>
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) -> UserAuthConfigInfo
pub fn build(self) -> UserAuthConfigInfo
Consumes the builder and constructs a UserAuthConfigInfo
.
Trait Implementations§
source§impl Clone for UserAuthConfigInfoBuilder
impl Clone for UserAuthConfigInfoBuilder
source§fn clone(&self) -> UserAuthConfigInfoBuilder
fn clone(&self) -> UserAuthConfigInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UserAuthConfigInfoBuilder
impl Debug for UserAuthConfigInfoBuilder
source§impl Default for UserAuthConfigInfoBuilder
impl Default for UserAuthConfigInfoBuilder
source§fn default() -> UserAuthConfigInfoBuilder
fn default() -> UserAuthConfigInfoBuilder
source§impl PartialEq for UserAuthConfigInfoBuilder
impl PartialEq for UserAuthConfigInfoBuilder
source§fn eq(&self, other: &UserAuthConfigInfoBuilder) -> bool
fn eq(&self, other: &UserAuthConfigInfoBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.