Package de.xima.fc.audit
Class TenantAuditEntry.Builder
- java.lang.Object
-
- de.xima.fc.audit.TenantAuditEntry.Builder
-
- Enclosing class:
- TenantAuditEntry
public static class TenantAuditEntry.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TenantAuditEntrybuild()TenantAuditEntry.Builderdetails(String details)Optional additional details, ornullif none.TenantAuditEntry.Buildermessage(String message)The log message.TenantAuditEntry.Builderpreserve(boolean preserve)Whether the entry is protected from manual and automatic deletion.TenantAuditEntry.BuildertenantUuid(UUID tenantUuid)The UUID of the tenant the entry is scoped to.StringtoString()
-
-
-
Method Detail
-
tenantUuid
public TenantAuditEntry.Builder tenantUuid(UUID tenantUuid)
The UUID of the tenant the entry is scoped to. Must not benull.- Returns:
this.
-
message
public TenantAuditEntry.Builder message(String message)
The log message. Must not be blank.- Returns:
this.
-
details
public TenantAuditEntry.Builder details(String details)
Optional additional details, ornullif none.- Returns:
this.
-
preserve
public TenantAuditEntry.Builder preserve(boolean preserve)
Whether the entry is protected from manual and automatic deletion.- Returns:
this.
-
build
public TenantAuditEntry build()
-
-