pub struct Builder { /* private fields */ }
Expand description
A builder for AwsIamAccessKeySessionContextAttributes
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn mfa_authenticated(self, input: bool) -> Self
pub fn mfa_authenticated(self, input: bool) -> Self
Indicates whether the session used multi-factor authentication (MFA).
sourcepub fn set_mfa_authenticated(self, input: Option<bool>) -> Self
pub fn set_mfa_authenticated(self, input: Option<bool>) -> Self
Indicates whether the session used multi-factor authentication (MFA).
sourcepub fn creation_date(self, input: impl Into<String>) -> Self
pub fn creation_date(self, input: impl Into<String>) -> Self
Indicates when the session was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn set_creation_date(self, input: Option<String>) -> Self
pub fn set_creation_date(self, input: Option<String>) -> Self
Indicates when the session was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn build(self) -> AwsIamAccessKeySessionContextAttributes
pub fn build(self) -> AwsIamAccessKeySessionContextAttributes
Consumes the builder and constructs a AwsIamAccessKeySessionContextAttributes
.