pub struct Builder { /* private fields */ }
Expand description
A builder for CreateBackendAuthPasswordPolicyConfig
.
Implementations§
source§impl 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
.
Additional constraints for the password used to access the backend 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
Additional constraints for the password used to access the backend of your Amplify project.
sourcepub fn minimum_length(self, input: f64) -> Self
pub fn minimum_length(self, input: f64) -> Self
The minimum length of the password used to access the backend of your Amplify project.
sourcepub fn set_minimum_length(self, input: Option<f64>) -> Self
pub fn set_minimum_length(self, input: Option<f64>) -> Self
The minimum length of the password used to access the backend of your Amplify project.
sourcepub fn build(self) -> CreateBackendAuthPasswordPolicyConfig
pub fn build(self) -> CreateBackendAuthPasswordPolicyConfig
Consumes the builder and constructs a CreateBackendAuthPasswordPolicyConfig
.