Struct aws_sdk_workmail::operation::put_inbound_dmarc_settings::builders::PutInboundDmarcSettingsInputBuilder
source · #[non_exhaustive]pub struct PutInboundDmarcSettingsInputBuilder { /* private fields */ }
Expand description
A builder for PutInboundDmarcSettingsInput
.
Implementations§
source§impl PutInboundDmarcSettingsInputBuilder
impl PutInboundDmarcSettingsInputBuilder
sourcepub fn organization_id(self, input: impl Into<String>) -> Self
pub fn organization_id(self, input: impl Into<String>) -> Self
The ID of the organization that you are applying the DMARC policy to.
sourcepub fn set_organization_id(self, input: Option<String>) -> Self
pub fn set_organization_id(self, input: Option<String>) -> Self
The ID of the organization that you are applying the DMARC policy to.
sourcepub fn set_enforced(self, input: Option<bool>) -> Self
pub fn set_enforced(self, input: Option<bool>) -> Self
Enforces or suspends a policy after it's applied.
sourcepub fn build(self) -> Result<PutInboundDmarcSettingsInput, BuildError>
pub fn build(self) -> Result<PutInboundDmarcSettingsInput, BuildError>
Consumes the builder and constructs a PutInboundDmarcSettingsInput
.
Trait Implementations§
source§impl Clone for PutInboundDmarcSettingsInputBuilder
impl Clone for PutInboundDmarcSettingsInputBuilder
source§fn clone(&self) -> PutInboundDmarcSettingsInputBuilder
fn clone(&self) -> PutInboundDmarcSettingsInputBuilder
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 Default for PutInboundDmarcSettingsInputBuilder
impl Default for PutInboundDmarcSettingsInputBuilder
source§fn default() -> PutInboundDmarcSettingsInputBuilder
fn default() -> PutInboundDmarcSettingsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<PutInboundDmarcSettingsInputBuilder> for PutInboundDmarcSettingsInputBuilder
impl PartialEq<PutInboundDmarcSettingsInputBuilder> for PutInboundDmarcSettingsInputBuilder
source§fn eq(&self, other: &PutInboundDmarcSettingsInputBuilder) -> bool
fn eq(&self, other: &PutInboundDmarcSettingsInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutInboundDmarcSettingsInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PutInboundDmarcSettingsInputBuilder
impl Send for PutInboundDmarcSettingsInputBuilder
impl Sync for PutInboundDmarcSettingsInputBuilder
impl Unpin for PutInboundDmarcSettingsInputBuilder
impl UnwindSafe for PutInboundDmarcSettingsInputBuilder
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