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 is set at the target level overriding the global audit retention settings.ChangeRetentionDetails.Builder
offlineMonths(Integer offlineMonths)
Indicates the number of months the audit records will be stored offline in the Data Safe audit archive.ChangeRetentionDetails.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.
-
-
-
Method Detail
-
onlineMonths
public ChangeRetentionDetails.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 ChangeRetentionDetails.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
-
isOverrideGlobalRetentionSetting
public ChangeRetentionDetails.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
-
build
public ChangeRetentionDetails build()
-
copy
public ChangeRetentionDetails.Builder copy(ChangeRetentionDetails model)
-
-