Package com.oracle.bmc.datasafe.model
Class AuditProfileSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.AuditProfileSummary.Builder
-
- Enclosing class:
- AuditProfileSummary
public static class AuditProfileSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
id
public AuditProfileSummary.Builder id(String id)
The OCID of the audit profile.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public AuditProfileSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the audit profile.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public AuditProfileSummary.Builder displayName(String displayName)
The display name of the audit profile.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
timeCreated
public AuditProfileSummary.Builder timeCreated(Date timeCreated)
The date and time the audit profile was created, in the format defined by RFC3339.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public AuditProfileSummary.Builder timeUpdated(Date timeUpdated)
The date and time the audit profile was updated, in the format defined by RFC3339.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
targetId
public AuditProfileSummary.Builder targetId(String targetId)
The OCID of the Data Safe target for which the audit profile is created.- Parameters:
targetId
- the value to set- Returns:
- this builder
-
lifecycleState
public AuditProfileSummary.Builder lifecycleState(AuditProfileLifecycleState lifecycleState)
The current state of the audit profile.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
description
public AuditProfileSummary.Builder description(String description)
The description of audit profile.- Parameters:
description
- the value to set- Returns:
- this builder
-
lifecycleDetails
public AuditProfileSummary.Builder lifecycleDetails(String lifecycleDetails)
Details about the current state of the audit profile in Data Safe.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
isPaidUsageEnabled
public 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.
- Parameters:
isPaidUsageEnabled
- the value to set- Returns:
- this builder
-
onlineMonths
public 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
- Parameters:
onlineMonths
- the value to set- Returns:
- this builder
-
offlineMonths
public 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.
- Parameters:
offlineMonths
- the value to set- Returns:
- this builder
-
auditCollectedVolume
public 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.
- Parameters:
auditCollectedVolume
- the value to set- Returns:
- this builder
-
isOverrideGlobalRetentionSetting
public 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.- Parameters:
isOverrideGlobalRetentionSetting
- the value to set- Returns:
- this builder
-
freeformTags
public 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"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public AuditProfileSummary build()
-
copy
public AuditProfileSummary.Builder copy(AuditProfileSummary model)
-
-