@Generated(value="software.amazon.awssdk:codegen") public final class AwsIamAccessKeyDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsIamAccessKeyDetails.Builder,AwsIamAccessKeyDetails>
IAM access key details related to a finding.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsIamAccessKeyDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accessKeyId()
The identifier of the access key.
|
String |
accountId()
The Amazon Web Services account ID of the account for the key.
|
static AwsIamAccessKeyDetails.Builder |
builder() |
String |
createdAt()
Indicates when the IAM access key was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
principalId()
The ID of the principal associated with an access key.
|
String |
principalName()
The name of the principal.
|
String |
principalType()
The type of principal associated with an access key.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsIamAccessKeyDetails.Builder> |
serializableBuilderClass() |
AwsIamAccessKeySessionContext |
sessionContext()
Information about the session that the key was used for.
|
AwsIamAccessKeyStatus |
status()
The status of the IAM access key related to a finding.
|
String |
statusAsString()
The status of the IAM access key related to a finding.
|
AwsIamAccessKeyDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userName()
Deprecated.
This filter is deprecated. Instead, use PrincipalName.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopy@Deprecated public final 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.
The UserName parameter has been replaced with the PrincipalName parameter
because access keys can also be assigned to principals that are not IAM users.
public final AwsIamAccessKeyStatus status()
The status of the IAM access key related to a finding.
If the service returns an enum value that is not available in the current SDK version, status will
return AwsIamAccessKeyStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
AwsIamAccessKeyStatuspublic final String statusAsString()
The status of the IAM access key related to a finding.
If the service returns an enum value that is not available in the current SDK version, status will
return AwsIamAccessKeyStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
AwsIamAccessKeyStatuspublic final 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.
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.
public final String principalId()
The ID of the principal associated with an access key.
public final String principalType()
The type of principal associated with an access key.
public final String principalName()
The name of the principal.
public final String accountId()
The Amazon Web Services account ID of the account for the key.
public final String accessKeyId()
The identifier of the access key.
public final AwsIamAccessKeySessionContext sessionContext()
Information about the session that the key was used for.
public AwsIamAccessKeyDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsIamAccessKeyDetails.Builder,AwsIamAccessKeyDetails>public static AwsIamAccessKeyDetails.Builder builder()
public static Class<? extends AwsIamAccessKeyDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.