Struct aws_sdk_workmail::input::reset_password_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ResetPasswordInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn organization_id(self, input: impl Into<String>) -> Self
pub fn organization_id(self, input: impl Into<String>) -> Self
The identifier of the organization that contains the user for which the password is reset.
sourcepub fn set_organization_id(self, input: Option<String>) -> Self
pub fn set_organization_id(self, input: Option<String>) -> Self
The identifier of the organization that contains the user for which the password is reset.
sourcepub fn user_id(self, input: impl Into<String>) -> Self
pub fn user_id(self, input: impl Into<String>) -> Self
The identifier of the user for whom the password is reset.
sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The identifier of the user for whom the password is reset.
sourcepub fn set_password(self, input: Option<String>) -> Self
pub fn set_password(self, input: Option<String>) -> Self
The new password for the user.
sourcepub fn build(self) -> Result<ResetPasswordInput, BuildError>
pub fn build(self) -> Result<ResetPasswordInput, BuildError>
Consumes the builder and constructs a ResetPasswordInput
.