pub struct Builder { /* private fields */ }
Expand description
A builder for UpdatePrimaryEmailAddressInput
.
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 organization that contains the user, group, or resource to update.
sourcepub fn set_organization_id(self, input: Option<String>) -> Self
pub fn set_organization_id(self, input: Option<String>) -> Self
The organization that contains the user, group, or resource to update.
sourcepub fn entity_id(self, input: impl Into<String>) -> Self
pub fn entity_id(self, input: impl Into<String>) -> Self
The user, group, or resource to update.
sourcepub fn set_entity_id(self, input: Option<String>) -> Self
pub fn set_entity_id(self, input: Option<String>) -> Self
The user, group, or resource to update.
sourcepub fn email(self, input: impl Into<String>) -> Self
pub fn email(self, input: impl Into<String>) -> Self
The value of the email to be updated as primary.
sourcepub fn set_email(self, input: Option<String>) -> Self
pub fn set_email(self, input: Option<String>) -> Self
The value of the email to be updated as primary.
sourcepub fn build(self) -> Result<UpdatePrimaryEmailAddressInput, BuildError>
pub fn build(self) -> Result<UpdatePrimaryEmailAddressInput, BuildError>
Consumes the builder and constructs a UpdatePrimaryEmailAddressInput
.