Struct aws_sdk_ses::operation::get_identity_policies::builders::GetIdentityPoliciesOutputBuilder
source · #[non_exhaustive]pub struct GetIdentityPoliciesOutputBuilder { /* private fields */ }Expand description
A builder for GetIdentityPoliciesOutput.
Implementations§
source§impl GetIdentityPoliciesOutputBuilder
impl GetIdentityPoliciesOutputBuilder
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) -> Result<GetIdentityPoliciesOutput, BuildError>
pub fn build(self) -> Result<GetIdentityPoliciesOutput, BuildError>
Consumes the builder and constructs a GetIdentityPoliciesOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetIdentityPoliciesOutputBuilder
impl Clone for GetIdentityPoliciesOutputBuilder
source§fn clone(&self) -> GetIdentityPoliciesOutputBuilder
fn clone(&self) -> GetIdentityPoliciesOutputBuilder
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 GetIdentityPoliciesOutputBuilder
impl Default for GetIdentityPoliciesOutputBuilder
source§fn default() -> GetIdentityPoliciesOutputBuilder
fn default() -> GetIdentityPoliciesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetIdentityPoliciesOutputBuilder
impl PartialEq for GetIdentityPoliciesOutputBuilder
source§fn eq(&self, other: &GetIdentityPoliciesOutputBuilder) -> bool
fn eq(&self, other: &GetIdentityPoliciesOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetIdentityPoliciesOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetIdentityPoliciesOutputBuilder
impl Send for GetIdentityPoliciesOutputBuilder
impl Sync for GetIdentityPoliciesOutputBuilder
impl Unpin for GetIdentityPoliciesOutputBuilder
impl UnwindSafe for GetIdentityPoliciesOutputBuilder
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.