pub struct Builder { /* private fields */ }
Expand description
A builder for AwsIamAccessKeyDetails
.
Implementations
sourceimpl 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
This filter is deprecated. Instead, use PrincipalName.
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
This filter is deprecated. Instead, use PrincipalName.
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
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more