public static class AuditTrail.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AuditTrail.Builder |
auditCollectionStartTime(Date auditCollectionStartTime)
The date from which the audit trail must start collecting data, in the format defined by
RFC3339.
|
AuditTrail.Builder |
auditProfileId(String auditProfileId)
The OCID of the parent audit.
|
AuditTrail |
build() |
AuditTrail.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the audit trail and is the same as the
compartment of the audit profile resource.
|
AuditTrail.Builder |
copy(AuditTrail model) |
AuditTrail.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
AuditTrail.Builder |
description(String description)
The description of the audit trail.
|
AuditTrail.Builder |
displayName(String displayName)
The display name of the audit trail.
|
AuditTrail.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
AuditTrail.Builder |
id(String id)
The OCID of the audit trail.
|
AuditTrail.Builder |
isAutoPurgeEnabled(Boolean isAutoPurgeEnabled)
Indicates if auto purge is enabled on the target database, which helps delete audit data
in the target database every seven days so that the database’s audit trail does not
become too large.
|
AuditTrail.Builder |
lifecycleDetails(String lifecycleDetails)
Details about the current state of the audit trail in Data Safe.
|
AuditTrail.Builder |
lifecycleState(AuditTrailLifecycleState lifecycleState)
The current state of the audit trail.
|
AuditTrail.Builder |
peerTargetDatabaseKey(Integer peerTargetDatabaseKey)
The secondary id assigned for the peer database registered with Data Safe.
|
AuditTrail.Builder |
purgeJobDetails(String purgeJobDetails)
The details of the audit trail purge job that ran at the time specified by purgeJobTime".
|
AuditTrail.Builder |
purgeJobStatus(AuditTrail.PurgeJobStatus purgeJobStatus)
The current status of the audit trail purge job.
|
AuditTrail.Builder |
purgeJobTime(Date purgeJobTime)
The date and time of the last purge job.
|
AuditTrail.Builder |
status(AuditTrailStatus status)
The current sub-state of the audit trail.
|
AuditTrail.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
AuditTrail.Builder |
targetId(String targetId)
The OCID of the Data Safe target for which the audit trail is created.
|
AuditTrail.Builder |
timeCreated(Date timeCreated)
The date and time the audit trail was created, in the format defined by RFC3339.
|
AuditTrail.Builder |
timeLastCollected(Date timeLastCollected)
The date and time until when the audit events were collected from the target database by
the Data Safe audit trail collection process, in the format defined by RFC3339.
|
AuditTrail.Builder |
timeUpdated(Date timeUpdated)
The date and time the audit trail was updated, in the format defined by RFC3339.
|
AuditTrail.Builder |
trailLocation(String trailLocation)
An audit trail location represents the source of audit records that provides documentary
evidence of the sequence of activities in the target database.
|
AuditTrail.Builder |
trailSource(AuditTrailSource trailSource)
The underlying source of unified audit trail.
|
AuditTrail.Builder |
workRequestId(String workRequestId)
The OCID of the workrequest for audit trail which collects audit records.
|
public AuditTrail.Builder id(String id)
The OCID of the audit trail.
id
- the value to setpublic AuditTrail.Builder auditProfileId(String auditProfileId)
The OCID of the parent audit.
auditProfileId
- the value to setpublic AuditTrail.Builder targetId(String targetId)
The OCID of the Data Safe target for which the audit trail is created.
targetId
- the value to setpublic AuditTrail.Builder displayName(String displayName)
The display name of the audit trail.
displayName
- the value to setpublic AuditTrail.Builder timeCreated(Date timeCreated)
The date and time the audit trail was created, in the format defined by RFC3339.
timeCreated
- the value to setpublic AuditTrail.Builder timeUpdated(Date timeUpdated)
The date and time the audit trail was updated, in the format defined by RFC3339.
timeUpdated
- the value to setpublic AuditTrail.Builder lifecycleState(AuditTrailLifecycleState lifecycleState)
The current state of the audit trail.
lifecycleState
- the value to setpublic AuditTrail.Builder status(AuditTrailStatus status)
The current sub-state of the audit trail.
status
- the value to setpublic AuditTrail.Builder lifecycleDetails(String lifecycleDetails)
Details about the current state of the audit trail in Data Safe.
lifecycleDetails
- the value to setpublic AuditTrail.Builder trailLocation(String trailLocation)
An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database.
trailLocation
- the value to setpublic AuditTrail.Builder description(String description)
The description of the audit trail.
description
- the value to setpublic AuditTrail.Builder isAutoPurgeEnabled(Boolean isAutoPurgeEnabled)
Indicates if auto purge is enabled on the target database, which helps delete audit data in the target database every seven days so that the database’s audit trail does not become too large.
isAutoPurgeEnabled
- the value to setpublic AuditTrail.Builder auditCollectionStartTime(Date auditCollectionStartTime)
The date from which the audit trail must start collecting data, in the format defined by RFC3339.
auditCollectionStartTime
- the value to setpublic AuditTrail.Builder workRequestId(String workRequestId)
The OCID of the workrequest for audit trail which collects audit records.
workRequestId
- the value to setpublic AuditTrail.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the audit trail and is the same as the compartment of the audit profile resource.
compartmentId
- the value to setpublic AuditTrail.Builder timeLastCollected(Date timeLastCollected)
The date and time until when the audit events were collected from the target database by the Data Safe audit trail collection process, in the format defined by RFC3339.
timeLastCollected
- the value to setpublic AuditTrail.Builder peerTargetDatabaseKey(Integer peerTargetDatabaseKey)
The secondary id assigned for the peer database registered with Data Safe.
peerTargetDatabaseKey
- the value to setpublic AuditTrail.Builder trailSource(AuditTrailSource trailSource)
The underlying source of unified audit trail.
trailSource
- the value to setpublic AuditTrail.Builder purgeJobTime(Date purgeJobTime)
The date and time of the last purge job. The purge job deletes audit data in the target database every seven days so that the database’s audit trail does not become too large. In the format defined by RFC3339.
purgeJobTime
- the value to setpublic AuditTrail.Builder purgeJobStatus(AuditTrail.PurgeJobStatus purgeJobStatus)
The current status of the audit trail purge job.
purgeJobStatus
- the value to setpublic AuditTrail.Builder purgeJobDetails(String purgeJobDetails)
The details of the audit trail purge job that ran at the time specified by purgeJobTime".
purgeJobDetails
- the value to setpublic AuditTrail.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 AuditTrail.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 AuditTrail.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. For more
information, see Resource Tags. Example: {"orcl-cloud": {"free-tier-retained":
"true"}}
systemTags
- the value to setpublic AuditTrail build()
public AuditTrail.Builder copy(AuditTrail model)
Copyright © 2016–2024. All rights reserved.