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 |
auditEventTime(Date auditEventTime)
Time of audit event occurrence 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)
Type of auditing.
|
AuditEventSummary |
build() |
AuditEventSummary.Builder |
clientHostname(String clientHostname)
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)
IP address of the host 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 |
dbUserName(String dbUserName)
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)
Detailed message on why the Error occurred.
|
AuditEventSummary.Builder |
eventName(String eventName)
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 |
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)
Name of the object affected by the action.
|
AuditEventSummary.Builder |
objectOwner(String objectOwner)
Schema name of object affected but the action.
|
AuditEventSummary.Builder |
objectType(String objectType)
Type of object in the source database affected by the action.
|
AuditEventSummary.Builder |
operation(String operation)
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)
Name of the operating system user for the database session.
|
AuditEventSummary.Builder |
targetClass(AuditEventSummary.TargetClass targetClass)
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)
Timestamp when this audit event was collected from the target database by Data Safe.
|
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. This is the same audited target database resource comparment.
compartmentId
- the value to setpublic AuditEventSummary.Builder dbUserName(String dbUserName)
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)
Class of the target that was audited.
targetClass
- the value to setpublic AuditEventSummary.Builder auditEventTime(Date auditEventTime)
Time of audit event occurrence in the target database.
auditEventTime
- the value to setpublic AuditEventSummary.Builder timeCollected(Date timeCollected)
Timestamp when this audit event was collected from the target database by Data Safe.
timeCollected
- the value to setpublic AuditEventSummary.Builder osUserName(String osUserName)
Name of the operating system user for the database session.
osUserName
- the value to setpublic AuditEventSummary.Builder operation(String operation)
Name of the action executed by the user on the target database. i.e ALTER, CREATE, 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)
Name of the detail action executed by the user on the target database. i.e ALTER SEQUENCE, CREATE TRIGGER, 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)
Detailed message on why the Error occurred.
errorMessage
- the value to setpublic AuditEventSummary.Builder objectType(String objectType)
Type of object in the source database affected by the action. i.e PL/SQL, SYNONYM, PACKAGE BODY.
objectType
- the value to setpublic AuditEventSummary.Builder objectName(String objectName)
Name of the object affected by the action.
objectName
- the value to setpublic AuditEventSummary.Builder objectOwner(String objectOwner)
Schema name of object affected but the action.
objectOwner
- the value to setpublic AuditEventSummary.Builder clientHostname(String clientHostname)
Name of the host machine from which the session was spawned.
clientHostname
- the value to setpublic AuditEventSummary.Builder clientIp(String clientIp)
IP address of the host 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. Examples 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)
Type of auditing.
auditType
- 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–2023. All rights reserved.