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 ==
.