public static class AuditProfile.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AuditProfile.Builder |
auditCollectedVolume(Long auditCollectedVolume)
Indicates number of audit records collected by Data Safe in the current calendar month.
|
AuditProfile.Builder |
auditTrails(List<AuditTrail> auditTrails)
Indicates the list of available audit trails on the target.
|
AuditProfile |
build() |
AuditProfile.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the audit.
|
AuditProfile.Builder |
copy(AuditProfile model) |
AuditProfile.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
AuditProfile.Builder |
description(String description)
The description of the audit profile.
|
AuditProfile.Builder |
displayName(String displayName)
The display name of the audit profile.
|
AuditProfile.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
AuditProfile.Builder |
id(String id)
The OCID of the audit profile.
|
AuditProfile.Builder |
isOverrideGlobalRetentionSetting(Boolean isOverrideGlobalRetentionSetting)
Indicates whether audit retention settings like online and offline months is set at the
target level overriding the global audit retention settings.
|
AuditProfile.Builder |
isPaidUsageEnabled(Boolean isPaidUsageEnabled)
Indicates if you want to continue collecting audit records beyond the free limit of one
million audit records per month per target database, potentially incurring additional
charges.
|
AuditProfile.Builder |
lifecycleDetails(String lifecycleDetails)
Details about the current state of the audit profile in Data Safe.
|
AuditProfile.Builder |
lifecycleState(AuditProfileLifecycleState lifecycleState)
The current state of the audit profile.
|
AuditProfile.Builder |
offlineMonths(Integer offlineMonths)
Indicates the number of months the audit records will be stored offline in the Data Safe
audit archive.
|
AuditProfile.Builder |
onlineMonths(Integer onlineMonths)
Indicates the number of months the audit records will be stored online in Oracle Data
Safe audit repository for immediate reporting and analysis.
|
AuditProfile.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
AuditProfile.Builder |
targetId(String targetId)
The OCID of the Data Safe target for which the audit profile is created.
|
AuditProfile.Builder |
timeCreated(Date timeCreated)
The date and time the audit profile was created, in the format defined by RFC3339.
|
AuditProfile.Builder |
timeUpdated(Date timeUpdated)
The date and time the audit profile was updated, in the format defined by RFC3339.
|
public AuditProfile.Builder id(String id)
The OCID of the audit profile.
id
- the value to setpublic AuditProfile.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the audit.
compartmentId
- the value to setpublic AuditProfile.Builder displayName(String displayName)
The display name of the audit profile.
displayName
- the value to setpublic AuditProfile.Builder timeCreated(Date timeCreated)
The date and time the audit profile was created, in the format defined by RFC3339.
timeCreated
- the value to setpublic AuditProfile.Builder timeUpdated(Date timeUpdated)
The date and time the audit profile was updated, in the format defined by RFC3339.
timeUpdated
- the value to setpublic AuditProfile.Builder lifecycleState(AuditProfileLifecycleState lifecycleState)
The current state of the audit profile.
lifecycleState
- the value to setpublic AuditProfile.Builder lifecycleDetails(String lifecycleDetails)
Details about the current state of the audit profile in Data Safe.
lifecycleDetails
- the value to setpublic AuditProfile.Builder targetId(String targetId)
The OCID of the Data Safe target for which the audit profile is created.
targetId
- the value to setpublic AuditProfile.Builder description(String description)
The description of the audit profile.
description
- the value to setpublic AuditProfile.Builder auditTrails(List<AuditTrail> auditTrails)
Indicates the list of available audit trails on the target.
auditTrails
- the value to setpublic AuditProfile.Builder isPaidUsageEnabled(Boolean isPaidUsageEnabled)
Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. The default value is inherited from the global settings. You can change at the global level or at the target level.
isPaidUsageEnabled
- the value to setpublic AuditProfile.Builder onlineMonths(Integer onlineMonths)
Indicates the number of months the audit records will be stored online in Oracle Data Safe audit repository for immediate reporting and analysis. Minimum: 1; Maximum:12 months
onlineMonths
- the value to setpublic AuditProfile.Builder offlineMonths(Integer offlineMonths)
Indicates the number of months the audit records will be stored offline in the Data Safe audit archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in archive, please contact the Oracle Support.
offlineMonths
- the value to setpublic AuditProfile.Builder auditCollectedVolume(Long auditCollectedVolume)
Indicates number of audit records collected by Data Safe in the current calendar month. Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit.
auditCollectedVolume
- the value to setpublic AuditProfile.Builder isOverrideGlobalRetentionSetting(Boolean isOverrideGlobalRetentionSetting)
Indicates whether audit retention settings like online and offline months is set at the target level overriding the global audit retention settings.
isOverrideGlobalRetentionSetting
- the value to setpublic AuditProfile.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 AuditProfile.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 AuditProfile.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 AuditProfile build()
public AuditProfile.Builder copy(AuditProfile model)
Copyright © 2016–2024. All rights reserved.