Struct aws_sdk_iot::types::builders::AuthInfoBuilder
source · #[non_exhaustive]pub struct AuthInfoBuilder { /* private fields */ }
Expand description
A builder for AuthInfo
.
Implementations§
source§impl AuthInfoBuilder
impl AuthInfoBuilder
sourcepub fn action_type(self, input: ActionType) -> Self
pub fn action_type(self, input: ActionType) -> Self
The type of action for which the principal is being authorized.
sourcepub fn set_action_type(self, input: Option<ActionType>) -> Self
pub fn set_action_type(self, input: Option<ActionType>) -> Self
The type of action for which the principal is being authorized.
sourcepub fn get_action_type(&self) -> &Option<ActionType>
pub fn get_action_type(&self) -> &Option<ActionType>
The type of action for which the principal is being authorized.
sourcepub fn resources(self, input: impl Into<String>) -> Self
pub fn resources(self, input: impl Into<String>) -> Self
Appends an item to resources
.
To override the contents of this collection use set_resources
.
The resources for which the principal is being authorized to perform the specified action.
sourcepub fn set_resources(self, input: Option<Vec<String>>) -> Self
pub fn set_resources(self, input: Option<Vec<String>>) -> Self
The resources for which the principal is being authorized to perform the specified action.
sourcepub fn get_resources(&self) -> &Option<Vec<String>>
pub fn get_resources(&self) -> &Option<Vec<String>>
The resources for which the principal is being authorized to perform the specified action.
Trait Implementations§
source§impl Clone for AuthInfoBuilder
impl Clone for AuthInfoBuilder
source§fn clone(&self) -> AuthInfoBuilder
fn clone(&self) -> AuthInfoBuilder
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 AuthInfoBuilder
impl Debug for AuthInfoBuilder
source§impl Default for AuthInfoBuilder
impl Default for AuthInfoBuilder
source§fn default() -> AuthInfoBuilder
fn default() -> AuthInfoBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AuthInfoBuilder
impl PartialEq for AuthInfoBuilder
source§fn eq(&self, other: &AuthInfoBuilder) -> bool
fn eq(&self, other: &AuthInfoBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AuthInfoBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AuthInfoBuilder
impl Send for AuthInfoBuilder
impl Sync for AuthInfoBuilder
impl Unpin for AuthInfoBuilder
impl UnwindSafe for AuthInfoBuilder
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.