#[non_exhaustive]pub struct GetMailDomainInputBuilder { /* private fields */ }Expand description
A builder for GetMailDomainInput.
Implementations§
source§impl GetMailDomainInputBuilder
impl GetMailDomainInputBuilder
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.
Trait Implementations§
source§impl Clone for GetMailDomainInputBuilder
impl Clone for GetMailDomainInputBuilder
source§fn clone(&self) -> GetMailDomainInputBuilder
fn clone(&self) -> GetMailDomainInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for GetMailDomainInputBuilder
impl Debug for GetMailDomainInputBuilder
source§impl Default for GetMailDomainInputBuilder
impl Default for GetMailDomainInputBuilder
source§fn default() -> GetMailDomainInputBuilder
fn default() -> GetMailDomainInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetMailDomainInputBuilder> for GetMailDomainInputBuilder
impl PartialEq<GetMailDomainInputBuilder> for GetMailDomainInputBuilder
source§fn eq(&self, other: &GetMailDomainInputBuilder) -> bool
fn eq(&self, other: &GetMailDomainInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.