public static interface AwsIamAccessKeyDetails.Builder extends SdkPojo, CopyableBuilder<AwsIamAccessKeyDetails.Builder,AwsIamAccessKeyDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsIamAccessKeyDetails.Builder |
accessKeyId(String accessKeyId)
The identifier of the access key.
|
AwsIamAccessKeyDetails.Builder |
accountId(String accountId)
The Amazon Web Services account ID of the account for the key.
|
AwsIamAccessKeyDetails.Builder |
createdAt(String createdAt)
Indicates when the IAM access key was created.
|
AwsIamAccessKeyDetails.Builder |
principalId(String principalId)
The ID of the principal associated with an access key.
|
AwsIamAccessKeyDetails.Builder |
principalName(String principalName)
The name of the principal.
|
AwsIamAccessKeyDetails.Builder |
principalType(String principalType)
The type of principal associated with an access key.
|
AwsIamAccessKeyDetails.Builder |
sessionContext(AwsIamAccessKeySessionContext sessionContext)
Information about the session that the key was used for.
|
default AwsIamAccessKeyDetails.Builder |
sessionContext(Consumer<AwsIamAccessKeySessionContext.Builder> sessionContext)
Information about the session that the key was used for.
|
AwsIamAccessKeyDetails.Builder |
status(AwsIamAccessKeyStatus status)
The status of the IAM access key related to a finding.
|
AwsIamAccessKeyDetails.Builder |
status(String status)
The status of the IAM access key related to a finding.
|
AwsIamAccessKeyDetails.Builder |
userName(String userName)
Deprecated.
This filter is deprecated. Instead, use PrincipalName.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, build@Deprecated AwsIamAccessKeyDetails.Builder userName(String userName)
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.
userName - 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.
AwsIamAccessKeyDetails.Builder status(String status)
The status of the IAM access key related to a finding.
status - The status of the IAM access key related to a finding.AwsIamAccessKeyStatus,
AwsIamAccessKeyStatusAwsIamAccessKeyDetails.Builder status(AwsIamAccessKeyStatus status)
The status of the IAM access key related to a finding.
status - The status of the IAM access key related to a finding.AwsIamAccessKeyStatus,
AwsIamAccessKeyStatusAwsIamAccessKeyDetails.Builder createdAt(String createdAt)
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, and date and time should be separated by T. For example,
2020-03-22T13:22:13.933Z.
createdAt - 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, and date and time should be separated by T.
For example, 2020-03-22T13:22:13.933Z.
AwsIamAccessKeyDetails.Builder principalId(String principalId)
The ID of the principal associated with an access key.
principalId - The ID of the principal associated with an access key.AwsIamAccessKeyDetails.Builder principalType(String principalType)
The type of principal associated with an access key.
principalType - The type of principal associated with an access key.AwsIamAccessKeyDetails.Builder principalName(String principalName)
The name of the principal.
principalName - The name of the principal.AwsIamAccessKeyDetails.Builder accountId(String accountId)
The Amazon Web Services account ID of the account for the key.
accountId - The Amazon Web Services account ID of the account for the key.AwsIamAccessKeyDetails.Builder accessKeyId(String accessKeyId)
The identifier of the access key.
accessKeyId - The identifier of the access key.AwsIamAccessKeyDetails.Builder sessionContext(AwsIamAccessKeySessionContext sessionContext)
Information about the session that the key was used for.
sessionContext - Information about the session that the key was used for.default AwsIamAccessKeyDetails.Builder sessionContext(Consumer<AwsIamAccessKeySessionContext.Builder> sessionContext)
Information about the session that the key was used for.
This is a convenience method that creates an instance of theAwsIamAccessKeySessionContext.Builder
avoiding the need to create one manually via AwsIamAccessKeySessionContext.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to sessionContext(AwsIamAccessKeySessionContext).
sessionContext - a consumer that will call methods on AwsIamAccessKeySessionContext.BuildersessionContext(AwsIamAccessKeySessionContext)Copyright © 2023. All rights reserved.