#[non_exhaustive]pub struct BasicAuthConfigurationBuilder { /* private fields */ }Expand description
A builder for BasicAuthConfiguration.
Implementations§
source§impl BasicAuthConfigurationBuilder
impl BasicAuthConfigurationBuilder
sourcepub fn secret_arn(self, input: impl Into<String>) -> Self
pub fn secret_arn(self, input: impl Into<String>) -> Self
The ARN of the Secrets Manager secret that stores the basic authentication credentials used for plugin configuration..
This field is required.sourcepub fn set_secret_arn(self, input: Option<String>) -> Self
pub fn set_secret_arn(self, input: Option<String>) -> Self
The ARN of the Secrets Manager secret that stores the basic authentication credentials used for plugin configuration..
sourcepub fn get_secret_arn(&self) -> &Option<String>
pub fn get_secret_arn(&self) -> &Option<String>
The ARN of the Secrets Manager secret that stores the basic authentication credentials used for plugin configuration..
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The ARN of an IAM role used by Amazon Q to access the basic authentication credentials stored in a Secrets Manager secret.
This field is required.sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of an IAM role used by Amazon Q to access the basic authentication credentials stored in a Secrets Manager secret.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The ARN of an IAM role used by Amazon Q to access the basic authentication credentials stored in a Secrets Manager secret.
sourcepub fn build(self) -> Result<BasicAuthConfiguration, BuildError>
pub fn build(self) -> Result<BasicAuthConfiguration, BuildError>
Consumes the builder and constructs a BasicAuthConfiguration.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for BasicAuthConfigurationBuilder
impl Clone for BasicAuthConfigurationBuilder
source§fn clone(&self) -> BasicAuthConfigurationBuilder
fn clone(&self) -> BasicAuthConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for BasicAuthConfigurationBuilder
impl Default for BasicAuthConfigurationBuilder
source§fn default() -> BasicAuthConfigurationBuilder
fn default() -> BasicAuthConfigurationBuilder
source§impl PartialEq for BasicAuthConfigurationBuilder
impl PartialEq for BasicAuthConfigurationBuilder
source§fn eq(&self, other: &BasicAuthConfigurationBuilder) -> bool
fn eq(&self, other: &BasicAuthConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.