Struct aws_sdk_elasticache::model::authentication::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Authentication
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn type(self, input: AuthenticationType) -> Self
pub fn type(self, input: AuthenticationType) -> Self
Indicates whether the user requires a password to authenticate.
sourcepub fn set_type(self, input: Option<AuthenticationType>) -> Self
pub fn set_type(self, input: Option<AuthenticationType>) -> Self
Indicates whether the user requires a password to authenticate.
sourcepub fn password_count(self, input: i32) -> Self
pub fn password_count(self, input: i32) -> Self
The number of passwords belonging to the user. The maximum is two.
sourcepub fn set_password_count(self, input: Option<i32>) -> Self
pub fn set_password_count(self, input: Option<i32>) -> Self
The number of passwords belonging to the user. The maximum is two.
sourcepub fn build(self) -> Authentication
pub fn build(self) -> Authentication
Consumes the builder and constructs a Authentication
.