Package com.oracle.bmc.datasafe.model
Class AuditProfileDimensions.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.AuditProfileDimensions.Builder
-
- Enclosing class:
- AuditProfileDimensions
public static class AuditProfileDimensions.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditProfileDimensions
build()
AuditProfileDimensions.Builder
copy(AuditProfileDimensions model)
AuditProfileDimensions.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.AuditProfileDimensions.Builder
offlineMonthsSource(String offlineMonthsSource)
The name or the OCID of the resource from which the offline month retention setting is sourced.AuditProfileDimensions.Builder
onlineMonthsSource(String onlineMonthsSource)
The name or the OCID of the resource from which the online month retention setting is sourced.AuditProfileDimensions.Builder
paidUsageSource(String paidUsageSource)
The name or the OCID of the resource from which the paid usage setting is sourced.AuditProfileDimensions.Builder
targetType(String targetType)
The resource type that is represented by the audit profile.
-
-
-
Method Detail
-
isPaidUsageEnabled
public AuditProfileDimensions.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
-
targetType
public AuditProfileDimensions.Builder targetType(String targetType)
The resource type that is represented by the audit profile.- Parameters:
targetType
- the value to set- Returns:
- this builder
-
onlineMonthsSource
public AuditProfileDimensions.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 AuditProfileDimensions.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 AuditProfileDimensions.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
-
build
public AuditProfileDimensions build()
-
copy
public AuditProfileDimensions.Builder copy(AuditProfileDimensions model)
-
-