Struct aws_sdk_iot::types::builders::DeniedBuilder
source · #[non_exhaustive]pub struct DeniedBuilder { /* private fields */ }
Expand description
A builder for Denied
.
Implementations§
source§impl DeniedBuilder
impl DeniedBuilder
sourcepub fn implicit_deny(self, input: ImplicitDeny) -> Self
pub fn implicit_deny(self, input: ImplicitDeny) -> Self
Information that implicitly denies the authorization. When a policy doesn't explicitly deny or allow an action on a resource it is considered an implicit deny.
sourcepub fn set_implicit_deny(self, input: Option<ImplicitDeny>) -> Self
pub fn set_implicit_deny(self, input: Option<ImplicitDeny>) -> Self
Information that implicitly denies the authorization. When a policy doesn't explicitly deny or allow an action on a resource it is considered an implicit deny.
sourcepub fn get_implicit_deny(&self) -> &Option<ImplicitDeny>
pub fn get_implicit_deny(&self) -> &Option<ImplicitDeny>
Information that implicitly denies the authorization. When a policy doesn't explicitly deny or allow an action on a resource it is considered an implicit deny.
sourcepub fn explicit_deny(self, input: ExplicitDeny) -> Self
pub fn explicit_deny(self, input: ExplicitDeny) -> Self
Information that explicitly denies the authorization.
sourcepub fn set_explicit_deny(self, input: Option<ExplicitDeny>) -> Self
pub fn set_explicit_deny(self, input: Option<ExplicitDeny>) -> Self
Information that explicitly denies the authorization.
sourcepub fn get_explicit_deny(&self) -> &Option<ExplicitDeny>
pub fn get_explicit_deny(&self) -> &Option<ExplicitDeny>
Information that explicitly denies the authorization.
Trait Implementations§
source§impl Clone for DeniedBuilder
impl Clone for DeniedBuilder
source§fn clone(&self) -> DeniedBuilder
fn clone(&self) -> DeniedBuilder
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 DeniedBuilder
impl Debug for DeniedBuilder
source§impl Default for DeniedBuilder
impl Default for DeniedBuilder
source§fn default() -> DeniedBuilder
fn default() -> DeniedBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeniedBuilder
impl PartialEq for DeniedBuilder
source§fn eq(&self, other: &DeniedBuilder) -> bool
fn eq(&self, other: &DeniedBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeniedBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DeniedBuilder
impl Send for DeniedBuilder
impl Sync for DeniedBuilder
impl Unpin for DeniedBuilder
impl UnwindSafe for DeniedBuilder
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.