#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct AwsMskClusterClusterInfoClientAuthenticationSaslScramDetails {
pub enabled: ::std::option::Option<bool>,
}
impl AwsMskClusterClusterInfoClientAuthenticationSaslScramDetails {
pub fn enabled(&self) -> ::std::option::Option<bool> {
self.enabled
}
}
impl AwsMskClusterClusterInfoClientAuthenticationSaslScramDetails {
pub fn builder() -> crate::types::builders::AwsMskClusterClusterInfoClientAuthenticationSaslScramDetailsBuilder {
crate::types::builders::AwsMskClusterClusterInfoClientAuthenticationSaslScramDetailsBuilder::default()
}
}
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct AwsMskClusterClusterInfoClientAuthenticationSaslScramDetailsBuilder {
pub(crate) enabled: ::std::option::Option<bool>,
}
impl AwsMskClusterClusterInfoClientAuthenticationSaslScramDetailsBuilder {
pub fn enabled(mut self, input: bool) -> Self {
self.enabled = ::std::option::Option::Some(input);
self
}
pub fn set_enabled(mut self, input: ::std::option::Option<bool>) -> Self {
self.enabled = input;
self
}
pub fn get_enabled(&self) -> &::std::option::Option<bool> {
&self.enabled
}
pub fn build(self) -> crate::types::AwsMskClusterClusterInfoClientAuthenticationSaslScramDetails {
crate::types::AwsMskClusterClusterInfoClientAuthenticationSaslScramDetails { enabled: self.enabled }
}
}