public static class AuditEventSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AuditEventSummary.Builder |
actionTaken(String actionTaken)
The action taken for this audit event.
|
AuditEventSummary.Builder |
applicationContexts(String applicationContexts)
Semicolon-seperated list of application context namespace, attribute, value information
in (APPCTX_NSPACE,APPCTX_ATTRIBUTE=
|
AuditEventSummary.Builder |
auditEventTime(Date auditEventTime)
The time that the audit event occurs in the target database.
|
AuditEventSummary.Builder |
auditLocation(AuditEventSummary.AuditLocation auditLocation)
The location of the audit.
|
AuditEventSummary.Builder |
auditPolicies(String auditPolicies)
Comma-seperated list of audit policies that caused the current audit event.
|
AuditEventSummary.Builder |
auditTrailId(String auditTrailId)
The OCID of the audit trail that generated this audit event.
|
AuditEventSummary.Builder |
auditType(AuditEventSummary.AuditType auditType)
The type of the auditing.
|
AuditEventSummary |
build() |
AuditEventSummary.Builder |
clientHostname(String clientHostname)
The name of the host machine from which the session was spawned.
|
AuditEventSummary.Builder |
clientId(String clientId)
The client identifier in each Oracle session.
|
AuditEventSummary.Builder |
clientIp(String clientIp)
The IP address of the host machine from which the session was spawned.
|
AuditEventSummary.Builder |
clientProgram(String clientProgram)
The application from which the audit event was generated.
|
AuditEventSummary.Builder |
commandParam(String commandParam)
List of bind variables associated with the command text.
|
AuditEventSummary.Builder |
commandText(String commandText)
The SQL associated with the audit event.
|
AuditEventSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment containing the audit event.
|
AuditEventSummary.Builder |
copy(AuditEventSummary model) |
AuditEventSummary.Builder |
databaseType(AuditEventSummary.DatabaseType databaseType)
The type of the target database that was audited.
|
AuditEventSummary.Builder |
databaseUniqueName(String databaseUniqueName)
Unique name of the database associated to the peer target database.
|
AuditEventSummary.Builder |
dbUserName(String dbUserName)
The name of the database user whose actions were audited.
|
AuditEventSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
AuditEventSummary.Builder |
errorCode(String errorCode)
Oracle Error code generated by the action.
|
AuditEventSummary.Builder |
errorMessage(String errorMessage)
The detailed message on why the error occurred.
|
AuditEventSummary.Builder |
eventName(String eventName)
The name of the detail action executed by the user on the target database.
|
AuditEventSummary.Builder |
extendedEventAttributes(String extendedEventAttributes)
List of all other attributes of the audit event seperated by a colon other than the one
returned in audit record.
|
AuditEventSummary.Builder |
fgaPolicyName(String fgaPolicyName)
Fine-grained auditing (FGA) policy name that generated this audit record.
|
AuditEventSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
AuditEventSummary.Builder |
id(String id)
The OCID of the audit event.
|
AuditEventSummary.Builder |
isAlerted(Boolean isAlerted)
Indicates whether an alert was raised for this audit event.
|
AuditEventSummary.Builder |
objectName(String objectName)
The name of the object affected by the action.
|
AuditEventSummary.Builder |
objectOwner(String objectOwner)
The schema name of the object affected by the action.
|
AuditEventSummary.Builder |
objectType(String objectType)
The type of the object in the source database affected by the action.
|
AuditEventSummary.Builder |
operation(String operation)
The name of the action executed by the user on the target database.
|
AuditEventSummary.Builder |
operationStatus(AuditEventSummary.OperationStatus operationStatus)
Indicates whether the operation was a success or a failure.
|
AuditEventSummary.Builder |
osTerminal(String osTerminal)
The operating system terminal of the user session.
|
AuditEventSummary.Builder |
osUserName(String osUserName)
The name of the operating system user for the database session.
|
AuditEventSummary.Builder |
peerTargetDatabaseKey(Integer peerTargetDatabaseKey)
The secondary id assigned for the peer database registered with Data Safe.
|
AuditEventSummary.Builder |
targetClass(AuditEventSummary.TargetClass targetClass)
The class of the target that was audited.
|
AuditEventSummary.Builder |
targetId(String targetId)
The OCID of the target database that was audited.
|
AuditEventSummary.Builder |
targetName(String targetName)
The name of the target database that was audited.
|
AuditEventSummary.Builder |
timeCollected(Date timeCollected)
The timestamp when this audit event was collected from the target database by Data Safe.
|
AuditEventSummary.Builder |
trailSource(AuditTrailSource trailSource)
The underlying source of unified audit trail.
|
public AuditEventSummary.Builder id(String id)
The OCID of the audit event.
id
- the value to setpublic AuditEventSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment containing the audit event. The compartment is the same as that of audit profile of the target database resource.
compartmentId
- the value to setpublic AuditEventSummary.Builder dbUserName(String dbUserName)
The name of the database user whose actions were audited.
dbUserName
- the value to setpublic AuditEventSummary.Builder targetId(String targetId)
The OCID of the target database that was audited.
targetId
- the value to setpublic AuditEventSummary.Builder targetName(String targetName)
The name of the target database that was audited.
targetName
- the value to setpublic AuditEventSummary.Builder databaseType(AuditEventSummary.DatabaseType databaseType)
The type of the target database that was audited. Allowed values are - DATABASE_CLOUD_SERVICE - Represents Oracle Database Cloud Services. - AUTONOMOUS_DATABASE
databaseType
- the value to setpublic AuditEventSummary.Builder targetClass(AuditEventSummary.TargetClass targetClass)
The class of the target that was audited.
targetClass
- the value to setpublic AuditEventSummary.Builder auditEventTime(Date auditEventTime)
The time that the audit event occurs in the target database.
auditEventTime
- the value to setpublic AuditEventSummary.Builder timeCollected(Date timeCollected)
The timestamp when this audit event was collected from the target database by Data Safe.
timeCollected
- the value to setpublic AuditEventSummary.Builder osUserName(String osUserName)
The name of the operating system user for the database session.
osUserName
- the value to setpublic AuditEventSummary.Builder operation(String operation)
The name of the action executed by the user on the target database. For example ALTER, CREATE or DROP.
operation
- the value to setpublic AuditEventSummary.Builder operationStatus(AuditEventSummary.OperationStatus operationStatus)
Indicates whether the operation was a success or a failure.
operationStatus
- the value to setpublic AuditEventSummary.Builder eventName(String eventName)
The name of the detail action executed by the user on the target database. For example ALTER SEQUENCE, CREATE TRIGGER or CREATE INDEX.
eventName
- the value to setpublic AuditEventSummary.Builder errorCode(String errorCode)
Oracle Error code generated by the action. Zero indicates the action was successful.
errorCode
- the value to setpublic AuditEventSummary.Builder errorMessage(String errorMessage)
The detailed message on why the error occurred.
errorMessage
- the value to setpublic AuditEventSummary.Builder objectType(String objectType)
The type of the object in the source database affected by the action. For example PL/SQL, SYNONYM or PACKAGE BODY.
objectType
- the value to setpublic AuditEventSummary.Builder objectName(String objectName)
The name of the object affected by the action.
objectName
- the value to setpublic AuditEventSummary.Builder objectOwner(String objectOwner)
The schema name of the object affected by the action.
objectOwner
- the value to setpublic AuditEventSummary.Builder clientHostname(String clientHostname)
The name of the host machine from which the session was spawned.
clientHostname
- the value to setpublic AuditEventSummary.Builder clientIp(String clientIp)
The IP address of the host machine from which the session was spawned.
clientIp
- the value to setpublic AuditEventSummary.Builder auditTrailId(String auditTrailId)
The OCID of the audit trail that generated this audit event. To be noted, this field has been deprecated.
auditTrailId
- the value to setpublic AuditEventSummary.Builder isAlerted(Boolean isAlerted)
Indicates whether an alert was raised for this audit event.
isAlerted
- the value to setpublic AuditEventSummary.Builder actionTaken(String actionTaken)
The action taken for this audit event.
actionTaken
- the value to setpublic AuditEventSummary.Builder clientProgram(String clientProgram)
The application from which the audit event was generated. For example SQL Plus or SQL Developer.
clientProgram
- the value to setpublic AuditEventSummary.Builder commandText(String commandText)
The SQL associated with the audit event.
commandText
- the value to setpublic AuditEventSummary.Builder commandParam(String commandParam)
List of bind variables associated with the command text.
commandParam
- the value to setpublic AuditEventSummary.Builder extendedEventAttributes(String extendedEventAttributes)
List of all other attributes of the audit event seperated by a colon other than the one returned in audit record.
extendedEventAttributes
- the value to setpublic AuditEventSummary.Builder auditLocation(AuditEventSummary.AuditLocation auditLocation)
The location of the audit. Currently the value is audit table.
auditLocation
- the value to setpublic AuditEventSummary.Builder osTerminal(String osTerminal)
The operating system terminal of the user session.
osTerminal
- the value to setpublic AuditEventSummary.Builder clientId(String clientId)
The client identifier in each Oracle session.
clientId
- the value to setpublic AuditEventSummary.Builder auditPolicies(String auditPolicies)
Comma-seperated list of audit policies that caused the current audit event.
auditPolicies
- the value to setpublic AuditEventSummary.Builder auditType(AuditEventSummary.AuditType auditType)
The type of the auditing.
auditType
- the value to setpublic AuditEventSummary.Builder peerTargetDatabaseKey(Integer peerTargetDatabaseKey)
The secondary id assigned for the peer database registered with Data Safe.
peerTargetDatabaseKey
- the value to setpublic AuditEventSummary.Builder trailSource(AuditTrailSource trailSource)
The underlying source of unified audit trail.
trailSource
- the value to setpublic AuditEventSummary.Builder databaseUniqueName(String databaseUniqueName)
Unique name of the database associated to the peer target database.
databaseUniqueName
- the value to setpublic AuditEventSummary.Builder applicationContexts(String applicationContexts)
Semicolon-seperated list of application context namespace, attribute, value information
in (APPCTX_NSPACE,APPCTX_ATTRIBUTE=
applicationContexts
- the value to setpublic AuditEventSummary.Builder fgaPolicyName(String fgaPolicyName)
Fine-grained auditing (FGA) policy name that generated this audit record.
fgaPolicyName
- the value to setpublic AuditEventSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic AuditEventSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic AuditEventSummary build()
public AuditEventSummary.Builder copy(AuditEventSummary model)
Copyright © 2016–2024. All rights reserved.