@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnusedIamRoleDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about an unused access finding for an IAM role. 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 |
|---|
UnusedIamRoleDetails() |
| Modifier and Type | Method and Description |
|---|---|
UnusedIamRoleDetails |
clone() |
boolean |
equals(Object obj) |
Date |
getLastAccessed()
The time at which the role was last accessed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setLastAccessed(Date lastAccessed)
The time at which the role was last accessed.
|
String |
toString()
Returns a string representation of this object.
|
UnusedIamRoleDetails |
withLastAccessed(Date lastAccessed)
The time at which the role was last accessed.
|
public void setLastAccessed(Date lastAccessed)
The time at which the role was last accessed.
lastAccessed - The time at which the role was last accessed.public Date getLastAccessed()
The time at which the role was last accessed.
public UnusedIamRoleDetails withLastAccessed(Date lastAccessed)
The time at which the role was last accessed.
lastAccessed - The time at which the role was last accessed.public String toString()
toString in class ObjectObject.toString()public UnusedIamRoleDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.