Class TargetOverrideSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.TargetOverrideSummary.Builder
-
- Enclosing class:
- TargetOverrideSummary
public static class TargetOverrideSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TargetOverrideSummarybuild()TargetOverrideSummary.Buildercopy(TargetOverrideSummary model)TargetOverrideSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.TargetOverrideSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.TargetOverrideSummary.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.TargetOverrideSummary.BuilderofflineMonths(Integer offlineMonths)Number of months the audit records will be stored offline in the offline archive.TargetOverrideSummary.BuilderofflineMonthsSource(String offlineMonthsSource)The name or the OCID of the resource from which the offline month retention setting is sourced.TargetOverrideSummary.BuilderonlineMonths(Integer onlineMonths)Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis.TargetOverrideSummary.BuilderonlineMonthsSource(String onlineMonthsSource)The name or the OCID of the resource from which the online month retention setting is sourced.TargetOverrideSummary.BuilderpaidUsageSource(String paidUsageSource)The name or the OCID of the resource from which the paid usage setting is sourced.TargetOverrideSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.TargetOverrideSummary.BuildertargetDatabaseId(String targetDatabaseId)The OCID of the target database that overrides from the audit profile of the target database group.
-
-
-
Method Detail
-
targetDatabaseId
public TargetOverrideSummary.Builder targetDatabaseId(String targetDatabaseId)
The OCID of the target database that overrides from the audit profile of the target database group.- Parameters:
targetDatabaseId- the value to set- Returns:
- this builder
-
isPaidUsageEnabled
public TargetOverrideSummary.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 TargetOverrideSummary.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
-
offlineMonths
public TargetOverrideSummary.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 (up to 168 months) in the offline archive, please contact the Oracle Support.
- Parameters:
offlineMonths- the value to set- Returns:
- this builder
-
onlineMonthsSource
public TargetOverrideSummary.Builder onlineMonthsSource(String onlineMonthsSource)
The name or the OCID of the resource from which the online month retention setting is sourced.For example a target database group OCID or global.
- Parameters:
onlineMonthsSource- the value to set- Returns:
- this builder
-
offlineMonthsSource
public TargetOverrideSummary.Builder offlineMonthsSource(String offlineMonthsSource)
The name or the OCID of the resource from which the offline month retention setting is sourced.For example a target database group OCID or global.
- Parameters:
offlineMonthsSource- the value to set- Returns:
- this builder
-
paidUsageSource
public TargetOverrideSummary.Builder paidUsageSource(String paidUsageSource)
The name or the OCID of the resource from which the paid usage setting is sourced.For example a target database group OCID or global.
- Parameters:
paidUsageSource- the value to set- Returns:
- this builder
-
freeformTags
public TargetOverrideSummary.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 TargetOverrideSummary.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
-
systemTags
public TargetOverrideSummary.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
-
build
public TargetOverrideSummary build()
-
copy
public TargetOverrideSummary.Builder copy(TargetOverrideSummary model)
-
-