Struct aws_sdk_sesv2::operation::get_email_identity_policies::builders::GetEmailIdentityPoliciesOutputBuilder
source · #[non_exhaustive]pub struct GetEmailIdentityPoliciesOutputBuilder { /* private fields */ }Expand description
A builder for GetEmailIdentityPoliciesOutput.
Implementations§
source§impl GetEmailIdentityPoliciesOutputBuilder
impl GetEmailIdentityPoliciesOutputBuilder
sourcepub fn policies(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn policies(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to policies.
To override the contents of this collection use set_policies.
A map of policy names to policies.
sourcepub fn set_policies(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_policies(self, input: Option<HashMap<String, String>>) -> Self
A map of policy names to policies.
sourcepub fn get_policies(&self) -> &Option<HashMap<String, String>>
pub fn get_policies(&self) -> &Option<HashMap<String, String>>
A map of policy names to policies.
sourcepub fn build(self) -> GetEmailIdentityPoliciesOutput
pub fn build(self) -> GetEmailIdentityPoliciesOutput
Consumes the builder and constructs a GetEmailIdentityPoliciesOutput.
Trait Implementations§
source§impl Clone for GetEmailIdentityPoliciesOutputBuilder
impl Clone for GetEmailIdentityPoliciesOutputBuilder
source§fn clone(&self) -> GetEmailIdentityPoliciesOutputBuilder
fn clone(&self) -> GetEmailIdentityPoliciesOutputBuilder
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 GetEmailIdentityPoliciesOutputBuilder
impl Default for GetEmailIdentityPoliciesOutputBuilder
source§fn default() -> GetEmailIdentityPoliciesOutputBuilder
fn default() -> GetEmailIdentityPoliciesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetEmailIdentityPoliciesOutputBuilder
impl PartialEq for GetEmailIdentityPoliciesOutputBuilder
source§fn eq(&self, other: &GetEmailIdentityPoliciesOutputBuilder) -> bool
fn eq(&self, other: &GetEmailIdentityPoliciesOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetEmailIdentityPoliciesOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetEmailIdentityPoliciesOutputBuilder
impl Send for GetEmailIdentityPoliciesOutputBuilder
impl Sync for GetEmailIdentityPoliciesOutputBuilder
impl Unpin for GetEmailIdentityPoliciesOutputBuilder
impl UnwindSafe for GetEmailIdentityPoliciesOutputBuilder
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.