@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnusedIamUserAccessKeyDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about an unused access finding for an IAM user access key. IAM Access Analyzer charges for unused access analysis based on the number of IAM roles and users analyzed per month. For more details on pricing, see IAM Access Analyzer pricing.
Constructor and Description |
---|
UnusedIamUserAccessKeyDetails() |
Modifier and Type | Method and Description |
---|---|
UnusedIamUserAccessKeyDetails |
clone() |
boolean |
equals(Object obj) |
String |
getAccessKeyId()
The ID of the access key for which the unused access finding was generated.
|
Date |
getLastAccessed()
The time at which the access key was last accessed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccessKeyId(String accessKeyId)
The ID of the access key for which the unused access finding was generated.
|
void |
setLastAccessed(Date lastAccessed)
The time at which the access key was last accessed.
|
String |
toString()
Returns a string representation of this object.
|
UnusedIamUserAccessKeyDetails |
withAccessKeyId(String accessKeyId)
The ID of the access key for which the unused access finding was generated.
|
UnusedIamUserAccessKeyDetails |
withLastAccessed(Date lastAccessed)
The time at which the access key was last accessed.
|
public void setAccessKeyId(String accessKeyId)
The ID of the access key for which the unused access finding was generated.
accessKeyId
- The ID of the access key for which the unused access finding was generated.public String getAccessKeyId()
The ID of the access key for which the unused access finding was generated.
public UnusedIamUserAccessKeyDetails withAccessKeyId(String accessKeyId)
The ID of the access key for which the unused access finding was generated.
accessKeyId
- The ID of the access key for which the unused access finding was generated.public void setLastAccessed(Date lastAccessed)
The time at which the access key was last accessed.
lastAccessed
- The time at which the access key was last accessed.public Date getLastAccessed()
The time at which the access key was last accessed.
public UnusedIamUserAccessKeyDetails withLastAccessed(Date lastAccessed)
The time at which the access key was last accessed.
lastAccessed
- The time at which the access key was last accessed.public String toString()
toString
in class Object
Object.toString()
public UnusedIamUserAccessKeyDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.