Class AuditProfile.Builder
- java.lang.Object
- 
- com.oracle.bmc.datasafe.model.AuditProfile.Builder
 
- 
- Enclosing class:
- AuditProfile
 
 public static class AuditProfile.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditProfile.BuilderauditCollectedVolume(Long auditCollectedVolume)Number of audit records collected in the current calendar month.AuditProfile.BuilderauditTrails(List<AuditTrail> auditTrails)Contains the list of available audit trails on the target database.AuditProfilebuild()AuditProfile.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the audit profile.AuditProfile.Buildercopy(AuditProfile model)AuditProfile.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.AuditProfile.Builderdescription(String description)The description of the audit profile.AuditProfile.BuilderdisplayName(String displayName)The display name of the audit profile.AuditProfile.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.AuditProfile.Builderid(String id)The OCID of the audit profile.AuditProfile.BuilderisOverrideGlobalPaidUsage(Boolean isOverrideGlobalPaidUsage)Indicates whether audit paid usage settings specified at the target database level override both the global settings and the target group level paid usage settings.AuditProfile.BuilderisOverrideGlobalRetentionSetting(Boolean isOverrideGlobalRetentionSetting)Indicates whether audit retention settings like online and offline months set at the target level override both the global settings and the target group level audit retention settings.AuditProfile.BuilderisPaidUsageEnabled(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.BuilderlifecycleDetails(String lifecycleDetails)Details about the current state of the audit profile in Data Safe.AuditProfile.BuilderlifecycleState(AuditProfileLifecycleState lifecycleState)The current state of the audit profile.AuditProfile.BuilderofflineMonths(Integer offlineMonths)Number of months the audit records will be stored offline in the offline archive.AuditProfile.BuilderofflineMonthsSource(String offlineMonthsSource)The name or the OCID of the resource from which the offline month retention setting is sourced.AuditProfile.BuilderonlineMonths(Integer onlineMonths)Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis.AuditProfile.BuilderonlineMonthsSource(String onlineMonthsSource)The name or the OCID of the resource from which the online month retention setting is sourced.AuditProfile.BuilderpaidUsageSource(String paidUsageSource)The name or the OCID of the resource from which the paid usage setting is sourced.AuditProfile.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.AuditProfile.BuildertargetId(String targetId)The OCID of the target database or target database group for which the audit profile is created.AuditProfile.BuildertargetType(AuditProfileTargetType targetType)The resource type that is represented by the audit profile.AuditProfile.BuildertimeCreated(Date timeCreated)The date and time the audit profile was created, in the format defined by RFC3339.AuditProfile.BuildertimeUpdated(Date timeUpdated)The date and time the audit profile was updated, in the format defined by RFC3339.
 
- 
- 
- 
Method Detail- 
idpublic AuditProfile.Builder id(String id) The OCID of the audit profile.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic AuditProfile.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the audit profile.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic AuditProfile.Builder displayName(String displayName) The display name of the audit profile.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic AuditProfile.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
 
 - 
timeUpdatedpublic AuditProfile.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
 
 - 
lifecycleStatepublic AuditProfile.Builder lifecycleState(AuditProfileLifecycleState lifecycleState) The current state of the audit profile.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic AuditProfile.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
 
 - 
targetIdpublic AuditProfile.Builder targetId(String targetId) The OCID of the target database or target database group for which the audit profile is created.- Parameters:
- targetId- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic AuditProfile.Builder description(String description) The description of the audit profile.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
auditTrailspublic AuditProfile.Builder auditTrails(List<AuditTrail> auditTrails) Contains the list of available audit trails on the target database.- Parameters:
- auditTrails- the value to set
- Returns:
- this builder
 
 - 
isPaidUsageEnabledpublic 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. - Parameters:
- isPaidUsageEnabled- the value to set
- Returns:
- this builder
 
 - 
onlineMonthspublic AuditProfile.Builder onlineMonths(Integer onlineMonths) Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis.Minimum: 1; Maximum: 12 months - Parameters:
- onlineMonths- the value to set
- Returns:
- this builder
 
 - 
offlineMonthspublic AuditProfile.Builder offlineMonths(Integer offlineMonths) Number of months the audit records will be stored offline in the offline archive.Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in the offline archive, please contact the Oracle Support. - Parameters:
- offlineMonths- the value to set
- Returns:
- this builder
 
 - 
auditCollectedVolumepublic AuditProfile.Builder auditCollectedVolume(Long auditCollectedVolume) Number of audit records collected in the current calendar month.Audit records for the Data Safe service account are excluded and are not counted towards your monthly free limit. - Parameters:
- auditCollectedVolume- the value to set
- Returns:
- this builder
 
 - 
isOverrideGlobalRetentionSettingpublic AuditProfile.Builder isOverrideGlobalRetentionSetting(Boolean isOverrideGlobalRetentionSetting) Indicates whether audit retention settings like online and offline months set at the target level override both the global settings and the target group level audit retention settings.- Parameters:
- isOverrideGlobalRetentionSetting- the value to set
- Returns:
- this builder
 
 - 
isOverrideGlobalPaidUsagepublic AuditProfile.Builder isOverrideGlobalPaidUsage(Boolean isOverrideGlobalPaidUsage) Indicates whether audit paid usage settings specified at the target database level override both the global settings and the target group level paid usage settings.Enabling paid usage continues the collection of audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. For more information, see Data Safe Price List. - Parameters:
- isOverrideGlobalPaidUsage- the value to set
- Returns:
- this builder
 
 - 
onlineMonthsSourcepublic AuditProfile.Builder onlineMonthsSource(String onlineMonthsSource) The name or the OCID of the resource from which the online month retention setting is sourced.For example, a global setting or a target database group OCID. - Parameters:
- onlineMonthsSource- the value to set
- Returns:
- this builder
 
 - 
offlineMonthsSourcepublic AuditProfile.Builder offlineMonthsSource(String offlineMonthsSource) The name or the OCID of the resource from which the offline month retention setting is sourced.For example, a global setting or a target database group OCID. - Parameters:
- offlineMonthsSource- the value to set
- Returns:
- this builder
 
 - 
paidUsageSourcepublic AuditProfile.Builder paidUsageSource(String paidUsageSource) The name or the OCID of the resource from which the paid usage setting is sourced.For example, a global setting or a target database group OCID. - Parameters:
- paidUsageSource- the value to set
- Returns:
- this builder
 
 - 
targetTypepublic AuditProfile.Builder targetType(AuditProfileTargetType targetType) The resource type that is represented by the audit profile.- Parameters:
- targetType- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic 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”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic AuditProfile build() 
 - 
copypublic AuditProfile.Builder copy(AuditProfile model) 
 
- 
 
-