public static class AuditProfileSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AuditProfileSummary.Builder |
auditCollectedVolume(Long auditCollectedVolume)
Indicates count of audit records collected by Data Safe from the target which is eligible
for the current month’s billing cycle.
|
AuditProfileSummary |
build() |
AuditProfileSummary.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the audit profile.
|
AuditProfileSummary.Builder |
copy(AuditProfileSummary model) |
AuditProfileSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
AuditProfileSummary.Builder |
description(String description)
The description of audit profile.
|
AuditProfileSummary.Builder |
displayName(String displayName)
The display name of the audit profile.
|
AuditProfileSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
AuditProfileSummary.Builder |
id(String id)
The OCID of the audit profile.
|
AuditProfileSummary.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.
|
AuditProfileSummary.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.
|
AuditProfileSummary.Builder |
lifecycleDetails(String lifecycleDetails)
Details about the current state of the audit profile in Data Safe.
|
AuditProfileSummary.Builder |
lifecycleState(AuditProfileLifecycleState lifecycleState)
The current state of the audit profile.
|
AuditProfileSummary.Builder |
offlineMonths(Integer offlineMonths)
Indicates the number of months the audit records will be stored offline in the Data Safe
audit archive.
|
AuditProfileSummary.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.
|
AuditProfileSummary.Builder |
targetId(String targetId)
The OCID of the Data Safe target for which the audit profile is created.
|
AuditProfileSummary.Builder |
timeCreated(Date timeCreated)
The date and time the audit profile was created, in the format defined by RFC3339.
|
AuditProfileSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the audit profile was updated, in the format defined by RFC3339.
|
public AuditProfileSummary.Builder id(String id)
The OCID of the audit profile.
id
- the value to setpublic AuditProfileSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the audit profile.
compartmentId
- the value to setpublic AuditProfileSummary.Builder displayName(String displayName)
The display name of the audit profile.
displayName
- the value to setpublic AuditProfileSummary.Builder timeCreated(Date timeCreated)
The date and time the audit profile was created, in the format defined by RFC3339.
timeCreated
- the value to setpublic AuditProfileSummary.Builder timeUpdated(Date timeUpdated)
The date and time the audit profile was updated, in the format defined by RFC3339.
timeUpdated
- the value to setpublic AuditProfileSummary.Builder targetId(String targetId)
The OCID of the Data Safe target for which the audit profile is created.
targetId
- the value to setpublic AuditProfileSummary.Builder lifecycleState(AuditProfileLifecycleState lifecycleState)
The current state of the audit profile.
lifecycleState
- the value to setpublic AuditProfileSummary.Builder description(String description)
The description of audit profile.
description
- the value to setpublic AuditProfileSummary.Builder lifecycleDetails(String lifecycleDetails)
Details about the current state of the audit profile in Data Safe.
lifecycleDetails
- the value to setpublic AuditProfileSummary.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 AuditProfileSummary.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 AuditProfileSummary.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 AuditProfileSummary.Builder auditCollectedVolume(Long auditCollectedVolume)
Indicates count of audit records collected by Data Safe from the target which is eligible for the current month’s billing cycle. Audit records for actions performed by Data Safe service account on the target is excluded.
auditCollectedVolume
- the value to setpublic AuditProfileSummary.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 AuditProfileSummary.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 AuditProfileSummary.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 AuditProfileSummary build()
public AuditProfileSummary.Builder copy(AuditProfileSummary model)
Copyright © 2016–2024. All rights reserved.