Struct aws_sdk_rds::model::user_auth_config_info::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for UserAuthConfigInfo.
Implementations
sourceimpl Builder
impl Builder
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 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 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 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 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.
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.
sourcepub fn build(self) -> UserAuthConfigInfo
pub fn build(self) -> UserAuthConfigInfo
Consumes the builder and constructs a UserAuthConfigInfo.