public static class AddUserToGroupRequestAuditEvent.AddUserToGroupRequestAuditEventBuilder extends RequestAuditEvent.RequestAuditEventBuilder<AddUserToGroupRequestAuditEvent,AddUserToGroupRequestAuditEvent.AddUserToGroupRequestAuditEventBuilder>
Constructor and Description |
---|
AddUserToGroupRequestAuditEventBuilder() |
Modifier and Type | Method and Description |
---|---|
protected void |
buildAuditMessage(StringBuilder builder)
Appends to the event the details of the incoming request.
|
protected AddUserToGroupRequestAuditEvent |
newAuditEvent()
Creates a new audit event instance from this builder.
|
AddUserToGroupRequestAuditEvent.AddUserToGroupRequestAuditEventBuilder |
withAffectedUserName(String userName) |
AddUserToGroupRequestAuditEvent.AddUserToGroupRequestAuditEventBuilder |
withGroupName(String groupName) |
withOperation, withRequestType, withResultStatus, withUrl
withProxyUserName, withRemoteIp, withUserName
build, self, withTimestamp
public AddUserToGroupRequestAuditEventBuilder()
protected AddUserToGroupRequestAuditEvent newAuditEvent()
AbstractAuditEvent.AbstractAuditEventBuilder
newAuditEvent
in class AbstractAuditEvent.AbstractAuditEventBuilder<AddUserToGroupRequestAuditEvent,AddUserToGroupRequestAuditEvent.AddUserToGroupRequestAuditEventBuilder>
protected void buildAuditMessage(StringBuilder builder)
buildAuditMessage
in class RequestAuditEvent.RequestAuditEventBuilder<AddUserToGroupRequestAuditEvent,AddUserToGroupRequestAuditEvent.AddUserToGroupRequestAuditEventBuilder>
builder
- builder for the audit event details.public AddUserToGroupRequestAuditEvent.AddUserToGroupRequestAuditEventBuilder withGroupName(String groupName)
public AddUserToGroupRequestAuditEvent.AddUserToGroupRequestAuditEventBuilder withAffectedUserName(String userName)
Copyright © 2022 Apache Software Foundation. All rights reserved.