pub struct Builder { /* private fields */ }
Expand description
A builder for AwsIamAccessKeyDetails
.
Implementations§
source§impl Builder
impl Builder
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 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 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.
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_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.
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 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 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 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 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 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 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 build(self) -> AwsIamAccessKeyDetails
pub fn build(self) -> AwsIamAccessKeyDetails
Consumes the builder and constructs a AwsIamAccessKeyDetails
.