Package com.oracle.bmc.datasafe.model
Class ChangeRetentionDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.model.ChangeRetentionDetails.Builder
-
- Enclosing class:
- ChangeRetentionDetails
public static class ChangeRetentionDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeRetentionDetails
build()
ChangeRetentionDetails.Builder
copy(ChangeRetentionDetails model)
ChangeRetentionDetails.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.ChangeRetentionDetails.Builder
offlineMonths(Integer offlineMonths)
Number of months the audit records will be stored offline in the offline archive.ChangeRetentionDetails.Builder
onlineMonths(Integer onlineMonths)
Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis.
-
-
-
Method Detail
-
onlineMonths
public ChangeRetentionDetails.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 ChangeRetentionDetails.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
-
isOverrideGlobalRetentionSetting
public ChangeRetentionDetails.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
-
build
public ChangeRetentionDetails build()
-
copy
public ChangeRetentionDetails.Builder copy(ChangeRetentionDetails model)
-
-