#[non_exhaustive]pub struct AwsIamAccessKeyDetailsBuilder { /* private fields */ }Expand description
A builder for AwsIamAccessKeyDetails.
Implementations§
source§impl AwsIamAccessKeyDetailsBuilder
impl AwsIamAccessKeyDetailsBuilder
sourcepub fn user_name(self, input: impl Into<String>) -> Self
👎Deprecated: This filter is deprecated. Instead, use PrincipalName.
pub fn user_name(self, input: impl Into<String>) -> Self
The user associated with the IAM access key related to a finding.
The UserName parameter has been replaced with the PrincipalName parameter because access keys can also be assigned to principals that are not IAM users.
sourcepub fn set_user_name(self, input: Option<String>) -> Self
👎Deprecated: This filter is deprecated. Instead, use PrincipalName.
pub fn set_user_name(self, input: Option<String>) -> Self
The user associated with the IAM access key related to a finding.
The UserName parameter has been replaced with the PrincipalName parameter because access keys can also be assigned to principals that are not IAM users.
sourcepub fn get_user_name(&self) -> &Option<String>
👎Deprecated: This filter is deprecated. Instead, use PrincipalName.
pub fn get_user_name(&self) -> &Option<String>
The user associated with the IAM access key related to a finding.
The UserName parameter has been replaced with the PrincipalName parameter because access keys can also be assigned to principals that are not IAM users.
sourcepub fn status(self, input: AwsIamAccessKeyStatus) -> Self
pub fn status(self, input: AwsIamAccessKeyStatus) -> Self
The status of the IAM access key related to a finding.
sourcepub fn set_status(self, input: Option<AwsIamAccessKeyStatus>) -> Self
pub fn set_status(self, input: Option<AwsIamAccessKeyStatus>) -> Self
The status of the IAM access key related to a finding.
sourcepub fn get_status(&self) -> &Option<AwsIamAccessKeyStatus>
pub fn get_status(&self) -> &Option<AwsIamAccessKeyStatus>
The status of the IAM access key related to a finding.
sourcepub fn created_at(self, input: impl Into<String>) -> Self
pub fn created_at(self, input: impl Into<String>) -> Self
Indicates when the IAM access key was created.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour \[":" time-minute\]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
sourcepub fn set_created_at(self, input: Option<String>) -> Self
pub fn set_created_at(self, input: Option<String>) -> Self
Indicates when the IAM access key was created.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour \[":" time-minute\]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
sourcepub fn get_created_at(&self) -> &Option<String>
pub fn get_created_at(&self) -> &Option<String>
Indicates when the IAM access key was created.
This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour \[":" time-minute\]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ(for example,2019-01-31T23:00:00Z) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ(for example,2019-01-31T23:00:00.123456789Z) -
YYYY-MM-DDTHH:MM:SS+HH:MM(for example,2024-01-04T15:25:10+17:59) -
YYYY-MM-DDTHH:MM:SS-HHMM(for example,2024-01-04T15:25:10-1759) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM(for example,2024-01-04T15:25:10.123456789+17:59)
sourcepub fn principal_id(self, input: impl Into<String>) -> Self
pub fn principal_id(self, input: impl Into<String>) -> Self
The ID of the principal associated with an access key.
sourcepub fn set_principal_id(self, input: Option<String>) -> Self
pub fn set_principal_id(self, input: Option<String>) -> Self
The ID of the principal associated with an access key.
sourcepub fn get_principal_id(&self) -> &Option<String>
pub fn get_principal_id(&self) -> &Option<String>
The ID of the principal associated with an access key.
sourcepub fn principal_type(self, input: impl Into<String>) -> Self
pub fn principal_type(self, input: impl Into<String>) -> Self
The type of principal associated with an access key.
sourcepub fn set_principal_type(self, input: Option<String>) -> Self
pub fn set_principal_type(self, input: Option<String>) -> Self
The type of principal associated with an access key.
sourcepub fn get_principal_type(&self) -> &Option<String>
pub fn get_principal_type(&self) -> &Option<String>
The type of principal associated with an access key.
sourcepub fn principal_name(self, input: impl Into<String>) -> Self
pub fn principal_name(self, input: impl Into<String>) -> Self
The name of the principal.
sourcepub fn set_principal_name(self, input: Option<String>) -> Self
pub fn set_principal_name(self, input: Option<String>) -> Self
The name of the principal.
sourcepub fn get_principal_name(&self) -> &Option<String>
pub fn get_principal_name(&self) -> &Option<String>
The name of the principal.
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID of the account for the key.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID of the account for the key.
sourcepub fn get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &Option<String>
The Amazon Web Services account ID of the account for the key.
sourcepub fn access_key_id(self, input: impl Into<String>) -> Self
pub fn access_key_id(self, input: impl Into<String>) -> Self
The identifier of the access key.
sourcepub fn set_access_key_id(self, input: Option<String>) -> Self
pub fn set_access_key_id(self, input: Option<String>) -> Self
The identifier of the access key.
sourcepub fn get_access_key_id(&self) -> &Option<String>
pub fn get_access_key_id(&self) -> &Option<String>
The identifier of the access key.
sourcepub fn session_context(self, input: AwsIamAccessKeySessionContext) -> Self
pub fn session_context(self, input: AwsIamAccessKeySessionContext) -> Self
Information about the session that the key was used for.
sourcepub fn set_session_context(
self,
input: Option<AwsIamAccessKeySessionContext>,
) -> Self
pub fn set_session_context( self, input: Option<AwsIamAccessKeySessionContext>, ) -> Self
Information about the session that the key was used for.
sourcepub fn get_session_context(&self) -> &Option<AwsIamAccessKeySessionContext>
pub fn get_session_context(&self) -> &Option<AwsIamAccessKeySessionContext>
Information about the session that the key was used for.
sourcepub fn build(self) -> AwsIamAccessKeyDetails
pub fn build(self) -> AwsIamAccessKeyDetails
Consumes the builder and constructs a AwsIamAccessKeyDetails.
Trait Implementations§
source§impl Clone for AwsIamAccessKeyDetailsBuilder
impl Clone for AwsIamAccessKeyDetailsBuilder
source§fn clone(&self) -> AwsIamAccessKeyDetailsBuilder
fn clone(&self) -> AwsIamAccessKeyDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AwsIamAccessKeyDetailsBuilder
impl Default for AwsIamAccessKeyDetailsBuilder
source§fn default() -> AwsIamAccessKeyDetailsBuilder
fn default() -> AwsIamAccessKeyDetailsBuilder
source§impl PartialEq for AwsIamAccessKeyDetailsBuilder
impl PartialEq for AwsIamAccessKeyDetailsBuilder
source§fn eq(&self, other: &AwsIamAccessKeyDetailsBuilder) -> bool
fn eq(&self, other: &AwsIamAccessKeyDetailsBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AwsIamAccessKeyDetailsBuilder
Auto Trait Implementations§
impl Freeze for AwsIamAccessKeyDetailsBuilder
impl RefUnwindSafe for AwsIamAccessKeyDetailsBuilder
impl Send for AwsIamAccessKeyDetailsBuilder
impl Sync for AwsIamAccessKeyDetailsBuilder
impl Unpin for AwsIamAccessKeyDetailsBuilder
impl UnwindSafe for AwsIamAccessKeyDetailsBuilder
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