Record Class UserDeleted
java.lang.Object
java.lang.Record
com.svenruppert.jsentinel.audit.UserDeleted
- Record Components:
timestamp- UTC creation time, nevernullusername- username of the removed account, nevernulldeletedBy- subject id of the actor that triggered deletion, ornullif anonymous / system
- All Implemented Interfaces:
AuditEvent
public record UserDeleted(Instant timestamp, String username, String deletedBy)
extends Record
implements AuditEvent
A user account was removed from the directory.
-
Constructor Summary
ConstructorsConstructorDescriptionUserDeleted(Instant timestamp, String username, String deletedBy) Creates an instance of aUserDeletedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedeletedByrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thetimestamprecord component.final StringtoString()Returns a string representation of this record class.username()Returns the value of theusernamerecord component.
-
Constructor Details
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
timestamp
Returns the value of thetimestamprecord component.- Specified by:
timestampin interfaceAuditEvent- Returns:
- the value of the
timestamprecord component
-
username
-
deletedBy
-