public UnusedPermissionDetails withLastAccessed(java.util.Date lastAccessed) {
        setLastAccessed(lastAccessed);
        return this;
    }
<p>
The time at which the permission was last accessed.
</p>

@param lastAccessed
       The time at which the permission was last accessed.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/model/UnusedPermissionDetails.java