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