Struct aws_sdk_workmail::model::mail_domain_summary::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for MailDomainSummary
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The domain name.
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The domain name.
sourcepub fn default_domain(self, input: bool) -> Self
pub fn default_domain(self, input: bool) -> Self
Whether the domain is default or not.
sourcepub fn set_default_domain(self, input: Option<bool>) -> Self
pub fn set_default_domain(self, input: Option<bool>) -> Self
Whether the domain is default or not.
sourcepub fn build(self) -> MailDomainSummary
pub fn build(self) -> MailDomainSummary
Consumes the builder and constructs a MailDomainSummary
.