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 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<ExplicitDenyBuilder> for ExplicitDenyBuilder
impl PartialEq<ExplicitDenyBuilder> 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 ==.