#[non_exhaustive]pub struct PolicyDescriptorTypeBuilder { /* private fields */ }
Expand description
A builder for PolicyDescriptorType
.
Implementations§
source§impl PolicyDescriptorTypeBuilder
impl PolicyDescriptorTypeBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the IAM managed policy to use as a session policy for the role. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the IAM managed policy to use as a session policy for the role. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the IAM managed policy to use as a session policy for the role. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
sourcepub fn build(self) -> PolicyDescriptorType
pub fn build(self) -> PolicyDescriptorType
Consumes the builder and constructs a PolicyDescriptorType
.
Trait Implementations§
source§impl Clone for PolicyDescriptorTypeBuilder
impl Clone for PolicyDescriptorTypeBuilder
source§fn clone(&self) -> PolicyDescriptorTypeBuilder
fn clone(&self) -> PolicyDescriptorTypeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PolicyDescriptorTypeBuilder
impl Debug for PolicyDescriptorTypeBuilder
source§impl Default for PolicyDescriptorTypeBuilder
impl Default for PolicyDescriptorTypeBuilder
source§fn default() -> PolicyDescriptorTypeBuilder
fn default() -> PolicyDescriptorTypeBuilder
impl StructuralPartialEq for PolicyDescriptorTypeBuilder
Auto Trait Implementations§
impl Freeze for PolicyDescriptorTypeBuilder
impl RefUnwindSafe for PolicyDescriptorTypeBuilder
impl Send for PolicyDescriptorTypeBuilder
impl Sync for PolicyDescriptorTypeBuilder
impl Unpin for PolicyDescriptorTypeBuilder
impl UnwindSafe for PolicyDescriptorTypeBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more