Struct aws_sdk_workmail::types::Domain
source · #[non_exhaustive]pub struct Domain {
pub domain_name: String,
pub hosted_zone_id: Option<String>,
}Expand description
The domain to associate with an WorkMail organization.
When you configure a domain hosted in Amazon Route 53 (Route 53), all recommended DNS records are added to the organization when you create it. For more information, see Adding a domain in the WorkMail Administrator Guide.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.domain_name: StringThe fully qualified domain name.
hosted_zone_id: Option<String>The hosted zone ID for a domain hosted in Route 53. Required when configuring a domain hosted in Route 53.
Implementations§
source§impl Domain
impl Domain
sourcepub fn domain_name(&self) -> &str
pub fn domain_name(&self) -> &str
The fully qualified domain name.
sourcepub fn hosted_zone_id(&self) -> Option<&str>
pub fn hosted_zone_id(&self) -> Option<&str>
The hosted zone ID for a domain hosted in Route 53. Required when configuring a domain hosted in Route 53.
Trait Implementations§
source§impl PartialEq for Domain
impl PartialEq for Domain
impl StructuralPartialEq for Domain
Auto Trait Implementations§
impl Freeze for Domain
impl RefUnwindSafe for Domain
impl Send for Domain
impl Sync for Domain
impl Unpin for Domain
impl UnwindSafe for Domain
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.