Struct aws_sdk_workmail::input::get_mail_domain_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetMailDomainInput
.
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 WorkMail organization for which the domain is retrieved.
sourcepub fn set_organization_id(self, input: Option<String>) -> Self
pub fn set_organization_id(self, input: Option<String>) -> Self
The WorkMail organization for which the domain is retrieved.
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The domain from which you want to retrieve details.
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The domain from which you want to retrieve details.
sourcepub fn build(self) -> Result<GetMailDomainInput, BuildError>
pub fn build(self) -> Result<GetMailDomainInput, BuildError>
Consumes the builder and constructs a GetMailDomainInput
.