Package com.oracle.bmc.datasafe.model
Class AuditSpecification.Builder
- java.lang.Object
- 
- com.oracle.bmc.datasafe.model.AuditSpecification.Builder
 
- 
- Enclosing class:
- AuditSpecification
 
 public static class AuditSpecification.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AuditSpecification.BuilderauditPolicyCategory(AuditPolicyCategory auditPolicyCategory)The category to which the audit policy belongs.AuditSpecification.BuilderauditPolicyName(String auditPolicyName)Indicates the audit policy name.AuditSpecificationbuild()AuditSpecification.Buildercopy(AuditSpecification model)AuditSpecification.BuilderdatabasePolicyNames(List<String> databasePolicyNames)Indicates the names of corresponding database policy ( or policies) in the target database.AuditSpecification.BuilderenabledEntities(AuditSpecification.EnabledEntities enabledEntities)Indicates on whom the audit policy is enabled.AuditSpecification.BuilderenableStatus(AuditSpecification.EnableStatus enableStatus)Indicates whether the policy has been enabled, disabled or partially enabled in the target database.AuditSpecification.BuilderisCreated(Boolean isCreated)Indicates whether the policy is already created on the target database.AuditSpecification.BuilderisEnabledForAllUsers(Boolean isEnabledForAllUsers)Indicates whether the policy by default is enabled for all users with no flexibility to alter the enablement conditions.AuditSpecification.BuilderisSeededInDataSafe(Boolean isSeededInDataSafe)Indicates whether the audit policy is one of the seeded policies provided by Oracle Data Safe.AuditSpecification.BuilderisSeededInTarget(Boolean isSeededInTarget)Indicates whether the audit policy is one of the predefined policies provided by Oracle Database.AuditSpecification.BuilderisViewOnly(Boolean isViewOnly)Indicates whether the audit policy is available for provisioning/ de-provisioning from Oracle Data Safe, or is only available for displaying the current provisioning status from the target.AuditSpecification.BuilderpartiallyEnabledMsg(String partiallyEnabledMsg)Provides information about the policy that has been only partially enabled.
 
- 
- 
- 
Method Detail- 
auditPolicyNamepublic AuditSpecification.Builder auditPolicyName(String auditPolicyName) Indicates the audit policy name.Refer to the documentation for seeded audit policy names. For custom policies, refer to the user-defined policy name created in the target database. - Parameters:
- auditPolicyName- the value to set
- Returns:
- this builder
 
 - 
databasePolicyNamespublic AuditSpecification.Builder databasePolicyNames(List<String> databasePolicyNames) Indicates the names of corresponding database policy ( or policies) in the target database.- Parameters:
- databasePolicyNames- the value to set
- Returns:
- this builder
 
 - 
auditPolicyCategorypublic AuditSpecification.Builder auditPolicyCategory(AuditPolicyCategory auditPolicyCategory) The category to which the audit policy belongs.- Parameters:
- auditPolicyCategory- the value to set
- Returns:
- this builder
 
 - 
enableStatuspublic AuditSpecification.Builder enableStatus(AuditSpecification.EnableStatus enableStatus) Indicates whether the policy has been enabled, disabled or partially enabled in the target database.The status is PARTIALLY_ENABLED if any of the constituent database audit policies is not enabled. - Parameters:
- enableStatus- the value to set
- Returns:
- this builder
 
 - 
partiallyEnabledMsgpublic AuditSpecification.Builder partiallyEnabledMsg(String partiallyEnabledMsg) Provides information about the policy that has been only partially enabled.- Parameters:
- partiallyEnabledMsg- the value to set
- Returns:
- this builder
 
 - 
isEnabledForAllUserspublic AuditSpecification.Builder isEnabledForAllUsers(Boolean isEnabledForAllUsers) Indicates whether the policy by default is enabled for all users with no flexibility to alter the enablement conditions.- Parameters:
- isEnabledForAllUsers- the value to set
- Returns:
- this builder
 
 - 
isViewOnlypublic AuditSpecification.Builder isViewOnly(Boolean isViewOnly) Indicates whether the audit policy is available for provisioning/ de-provisioning from Oracle Data Safe, or is only available for displaying the current provisioning status from the target.- Parameters:
- isViewOnly- the value to set
- Returns:
- this builder
 
 - 
isSeededInTargetpublic AuditSpecification.Builder isSeededInTarget(Boolean isSeededInTarget) Indicates whether the audit policy is one of the predefined policies provided by Oracle Database.- Parameters:
- isSeededInTarget- the value to set
- Returns:
- this builder
 
 - 
isSeededInDataSafepublic AuditSpecification.Builder isSeededInDataSafe(Boolean isSeededInDataSafe) Indicates whether the audit policy is one of the seeded policies provided by Oracle Data Safe.- Parameters:
- isSeededInDataSafe- the value to set
- Returns:
- this builder
 
 - 
isCreatedpublic AuditSpecification.Builder isCreated(Boolean isCreated) Indicates whether the policy is already created on the target database.- Parameters:
- isCreated- the value to set
- Returns:
- this builder
 
 - 
enabledEntitiespublic AuditSpecification.Builder enabledEntities(AuditSpecification.EnabledEntities enabledEntities) Indicates on whom the audit policy is enabled.- Parameters:
- enabledEntities- the value to set
- Returns:
- this builder
 
 - 
buildpublic AuditSpecification build() 
 - 
copypublic AuditSpecification.Builder copy(AuditSpecification model) 
 
- 
 
-