public static class AuditLogEntry.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder(AuditLogEntry entry) |
Builder(AuditLogEntryType type) |
Builder(QueryState queryState) |
Modifier and Type | Method and Description |
---|---|
void |
appendToOperation(java.lang.String str) |
AuditLogEntry |
build() |
AuditLogEntry.Builder |
setBatch(java.util.UUID batch) |
AuditLogEntry.Builder |
setKeyspace(CQLStatement statement) |
AuditLogEntry.Builder |
setKeyspace(QueryState queryState,
CQLStatement statement) |
AuditLogEntry.Builder |
setKeyspace(java.lang.String keyspace) |
AuditLogEntry.Builder |
setOperation(java.lang.String operation) |
AuditLogEntry.Builder |
setOptions(QueryOptions options) |
AuditLogEntry.Builder |
setScope(CQLStatement statement) |
AuditLogEntry.Builder |
setTimestamp(long timestampMillis) |
AuditLogEntry.Builder |
setType(AuditLogEntryType type) |
AuditLogEntry.Builder |
setUser(java.lang.String user) |
public Builder(QueryState queryState)
public Builder(AuditLogEntry entry)
public Builder(AuditLogEntryType type)
public AuditLogEntry.Builder setType(AuditLogEntryType type)
public AuditLogEntry.Builder setUser(java.lang.String user)
public AuditLogEntry.Builder setBatch(java.util.UUID batch)
public AuditLogEntry.Builder setTimestamp(long timestampMillis)
public AuditLogEntry.Builder setKeyspace(QueryState queryState, @Nullable CQLStatement statement)
public AuditLogEntry.Builder setKeyspace(java.lang.String keyspace)
public AuditLogEntry.Builder setKeyspace(CQLStatement statement)
public AuditLogEntry.Builder setScope(CQLStatement statement)
public AuditLogEntry.Builder setOperation(java.lang.String operation)
public void appendToOperation(java.lang.String str)
public AuditLogEntry.Builder setOptions(QueryOptions options)
public AuditLogEntry build()
Copyright © 2009-2021 The Apache Software Foundation