Struct aws_sdk_amplifybackend::model::update_backend_auth_password_policy_config::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateBackendAuthPasswordPolicyConfig
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn additional_constraints(self, input: AdditionalConstraintsElement) -> Self
pub fn additional_constraints(self, input: AdditionalConstraintsElement) -> Self
Appends an item to additional_constraints
.
To override the contents of this collection use set_additional_constraints
.
Describes additional constraints on password requirements to sign in to the auth resource, configured as a part of your Amplify project.
sourcepub fn set_additional_constraints(
self,
input: Option<Vec<AdditionalConstraintsElement>>
) -> Self
pub fn set_additional_constraints(
self,
input: Option<Vec<AdditionalConstraintsElement>>
) -> Self
Describes additional constraints on password requirements to sign in to the auth resource, configured as a part of your Amplify project.
sourcepub fn minimum_length(self, input: f64) -> Self
pub fn minimum_length(self, input: f64) -> Self
Describes the minimum length of the password required to sign in to the auth resource, configured as a part of your Amplify project.
sourcepub fn set_minimum_length(self, input: Option<f64>) -> Self
pub fn set_minimum_length(self, input: Option<f64>) -> Self
Describes the minimum length of the password required to sign in to the auth resource, configured as a part of your Amplify project.
sourcepub fn build(self) -> UpdateBackendAuthPasswordPolicyConfig
pub fn build(self) -> UpdateBackendAuthPasswordPolicyConfig
Consumes the builder and constructs a UpdateBackendAuthPasswordPolicyConfig
.