Struct aws_sdk_securityhub::types::builders::AwsIamAccessKeySessionContextSessionIssuerBuilder
source · #[non_exhaustive]pub struct AwsIamAccessKeySessionContextSessionIssuerBuilder { /* private fields */ }Expand description
A builder for AwsIamAccessKeySessionContextSessionIssuer.
Implementations§
source§impl AwsIamAccessKeySessionContextSessionIssuerBuilder
impl AwsIamAccessKeySessionContextSessionIssuerBuilder
sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
The type of principal (user, role, or group) that created the session.
sourcepub fn set_type(self, input: Option<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
The type of principal (user, role, or group) that created the session.
sourcepub fn get_type(&self) -> &Option<String>
pub fn get_type(&self) -> &Option<String>
The type of principal (user, role, or group) that created the session.
sourcepub fn principal_id(self, input: impl Into<String>) -> Self
pub fn principal_id(self, input: impl Into<String>) -> Self
The principal ID of the principal (user, role, or group) that created the session.
sourcepub fn set_principal_id(self, input: Option<String>) -> Self
pub fn set_principal_id(self, input: Option<String>) -> Self
The principal ID of the principal (user, role, or group) that created the session.
sourcepub fn get_principal_id(&self) -> &Option<String>
pub fn get_principal_id(&self) -> &Option<String>
The principal ID of the principal (user, role, or group) that created the session.
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Web Services account that created the session.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The identifier of the Amazon Web Services account that created the session.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The identifier of the Amazon Web Services account that created the session.
sourcepub fn user_name(self, input: impl Into<String>) -> Self
pub fn user_name(self, input: impl Into<String>) -> Self
The name of the principal that created the session.
sourcepub fn set_user_name(self, input: Option<String>) -> Self
pub fn set_user_name(self, input: Option<String>) -> Self
The name of the principal that created the session.
sourcepub fn get_user_name(&self) -> &Option<String>
pub fn get_user_name(&self) -> &Option<String>
The name of the principal that created the session.
sourcepub fn build(self) -> AwsIamAccessKeySessionContextSessionIssuer
pub fn build(self) -> AwsIamAccessKeySessionContextSessionIssuer
Consumes the builder and constructs a AwsIamAccessKeySessionContextSessionIssuer.
Trait Implementations§
source§impl Clone for AwsIamAccessKeySessionContextSessionIssuerBuilder
impl Clone for AwsIamAccessKeySessionContextSessionIssuerBuilder
source§fn clone(&self) -> AwsIamAccessKeySessionContextSessionIssuerBuilder
fn clone(&self) -> AwsIamAccessKeySessionContextSessionIssuerBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AwsIamAccessKeySessionContextSessionIssuerBuilder
impl Default for AwsIamAccessKeySessionContextSessionIssuerBuilder
source§fn default() -> AwsIamAccessKeySessionContextSessionIssuerBuilder
fn default() -> AwsIamAccessKeySessionContextSessionIssuerBuilder
source§impl PartialEq for AwsIamAccessKeySessionContextSessionIssuerBuilder
impl PartialEq for AwsIamAccessKeySessionContextSessionIssuerBuilder
source§fn eq(&self, other: &AwsIamAccessKeySessionContextSessionIssuerBuilder) -> bool
fn eq(&self, other: &AwsIamAccessKeySessionContextSessionIssuerBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AwsIamAccessKeySessionContextSessionIssuerBuilder
Auto Trait Implementations§
impl Freeze for AwsIamAccessKeySessionContextSessionIssuerBuilder
impl RefUnwindSafe for AwsIamAccessKeySessionContextSessionIssuerBuilder
impl Send for AwsIamAccessKeySessionContextSessionIssuerBuilder
impl Sync for AwsIamAccessKeySessionContextSessionIssuerBuilder
impl Unpin for AwsIamAccessKeySessionContextSessionIssuerBuilder
impl UnwindSafe for AwsIamAccessKeySessionContextSessionIssuerBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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