Struct aws_sdk_iot::types::builders::ExplicitDenyBuilder
source · #[non_exhaustive]pub struct ExplicitDenyBuilder { /* private fields */ }
Expand description
A builder for ExplicitDeny
.
Implementations§
source§impl ExplicitDenyBuilder
impl ExplicitDenyBuilder
sourcepub fn policies(self, input: Policy) -> Self
pub fn policies(self, input: Policy) -> Self
Appends an item to policies
.
To override the contents of this collection use set_policies
.
The policies that denied the authorization.
sourcepub fn set_policies(self, input: Option<Vec<Policy>>) -> Self
pub fn set_policies(self, input: Option<Vec<Policy>>) -> Self
The policies that denied the authorization.
sourcepub fn get_policies(&self) -> &Option<Vec<Policy>>
pub fn get_policies(&self) -> &Option<Vec<Policy>>
The policies that denied the authorization.
sourcepub fn build(self) -> ExplicitDeny
pub fn build(self) -> ExplicitDeny
Consumes the builder and constructs a ExplicitDeny
.
Trait Implementations§
source§impl Clone for ExplicitDenyBuilder
impl Clone for ExplicitDenyBuilder
source§fn clone(&self) -> ExplicitDenyBuilder
fn clone(&self) -> ExplicitDenyBuilder
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 ExplicitDenyBuilder
impl Debug for ExplicitDenyBuilder
source§impl Default for ExplicitDenyBuilder
impl Default for ExplicitDenyBuilder
source§fn default() -> ExplicitDenyBuilder
fn default() -> ExplicitDenyBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ExplicitDenyBuilder
impl PartialEq for ExplicitDenyBuilder
source§fn eq(&self, other: &ExplicitDenyBuilder) -> bool
fn eq(&self, other: &ExplicitDenyBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExplicitDenyBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ExplicitDenyBuilder
impl Send for ExplicitDenyBuilder
impl Sync for ExplicitDenyBuilder
impl Unpin for ExplicitDenyBuilder
impl UnwindSafe for ExplicitDenyBuilder
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.