#[non_exhaustive]pub struct AwsIamAccessKeySessionContextBuilder { /* private fields */ }
Expand description
A builder for AwsIamAccessKeySessionContext
.
Implementations§
source§impl AwsIamAccessKeySessionContextBuilder
impl AwsIamAccessKeySessionContextBuilder
sourcepub fn attributes(self, input: AwsIamAccessKeySessionContextAttributes) -> Self
pub fn attributes(self, input: AwsIamAccessKeySessionContextAttributes) -> Self
Attributes of the session that the key was used for.
sourcepub fn set_attributes(
self,
input: Option<AwsIamAccessKeySessionContextAttributes>
) -> Self
pub fn set_attributes( self, input: Option<AwsIamAccessKeySessionContextAttributes> ) -> Self
Attributes of the session that the key was used for.
sourcepub fn get_attributes(&self) -> &Option<AwsIamAccessKeySessionContextAttributes>
pub fn get_attributes(&self) -> &Option<AwsIamAccessKeySessionContextAttributes>
Attributes of the session that the key was used for.
sourcepub fn session_issuer(
self,
input: AwsIamAccessKeySessionContextSessionIssuer
) -> Self
pub fn session_issuer( self, input: AwsIamAccessKeySessionContextSessionIssuer ) -> Self
Information about the entity that created the session.
sourcepub fn set_session_issuer(
self,
input: Option<AwsIamAccessKeySessionContextSessionIssuer>
) -> Self
pub fn set_session_issuer( self, input: Option<AwsIamAccessKeySessionContextSessionIssuer> ) -> Self
Information about the entity that created the session.
sourcepub fn get_session_issuer(
&self
) -> &Option<AwsIamAccessKeySessionContextSessionIssuer>
pub fn get_session_issuer( &self ) -> &Option<AwsIamAccessKeySessionContextSessionIssuer>
Information about the entity that created the session.
sourcepub fn build(self) -> AwsIamAccessKeySessionContext
pub fn build(self) -> AwsIamAccessKeySessionContext
Consumes the builder and constructs a AwsIamAccessKeySessionContext
.
Trait Implementations§
source§impl Clone for AwsIamAccessKeySessionContextBuilder
impl Clone for AwsIamAccessKeySessionContextBuilder
source§fn clone(&self) -> AwsIamAccessKeySessionContextBuilder
fn clone(&self) -> AwsIamAccessKeySessionContextBuilder
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 Default for AwsIamAccessKeySessionContextBuilder
impl Default for AwsIamAccessKeySessionContextBuilder
source§fn default() -> AwsIamAccessKeySessionContextBuilder
fn default() -> AwsIamAccessKeySessionContextBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsIamAccessKeySessionContextBuilder
impl PartialEq for AwsIamAccessKeySessionContextBuilder
source§fn eq(&self, other: &AwsIamAccessKeySessionContextBuilder) -> bool
fn eq(&self, other: &AwsIamAccessKeySessionContextBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsIamAccessKeySessionContextBuilder
Auto Trait Implementations§
impl Freeze for AwsIamAccessKeySessionContextBuilder
impl RefUnwindSafe for AwsIamAccessKeySessionContextBuilder
impl Send for AwsIamAccessKeySessionContextBuilder
impl Sync for AwsIamAccessKeySessionContextBuilder
impl Unpin for AwsIamAccessKeySessionContextBuilder
impl UnwindSafe for AwsIamAccessKeySessionContextBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.