public static class AuditSpecification.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AuditSpecification.Builder |
auditPolicyCategory(AuditPolicyCategory auditPolicyCategory)
The category to which the audit policy belongs.
|
AuditSpecification.Builder |
auditPolicyName(String auditPolicyName)
Indicates the audit policy name.
|
AuditSpecification |
build() |
AuditSpecification.Builder |
copy(AuditSpecification model) |
AuditSpecification.Builder |
databasePolicyNames(List<String> databasePolicyNames)
Indicates the names of corresponding database policy ( or policies) in the target
database.
|
AuditSpecification.Builder |
enabledEntities(AuditSpecification.EnabledEntities enabledEntities)
Indicates on whom the audit policy is enabled.
|
AuditSpecification.Builder |
enableStatus(AuditSpecification.EnableStatus enableStatus)
Indicates whether the policy has been enabled, disabled or partially enabled in the
target database.
|
AuditSpecification.Builder |
isCreated(Boolean isCreated)
Indicates whether the policy is already created on the target database.
|
AuditSpecification.Builder |
isEnabledForAllUsers(Boolean isEnabledForAllUsers)
Indicates whether the policy by default is enabled for all users with no flexibility to
alter the enablement conditions.
|
AuditSpecification.Builder |
isSeededInDataSafe(Boolean isSeededInDataSafe)
Indicates whether the audit policy is one of the seeded policies provided by Oracle Data
Safe.
|
AuditSpecification.Builder |
isSeededInTarget(Boolean isSeededInTarget)
Indicates whether the audit policy is one of the predefined policies provided by Oracle
Database.
|
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.
|
AuditSpecification.Builder |
partiallyEnabledMsg(String partiallyEnabledMsg)
Provides information about the policy that has been only partially enabled.
|
public 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.
auditPolicyName
- the value to setpublic AuditSpecification.Builder databasePolicyNames(List<String> databasePolicyNames)
Indicates the names of corresponding database policy ( or policies) in the target database.
databasePolicyNames
- the value to setpublic AuditSpecification.Builder auditPolicyCategory(AuditPolicyCategory auditPolicyCategory)
The category to which the audit policy belongs.
auditPolicyCategory
- the value to setpublic 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.
enableStatus
- the value to setpublic AuditSpecification.Builder partiallyEnabledMsg(String partiallyEnabledMsg)
Provides information about the policy that has been only partially enabled.
partiallyEnabledMsg
- the value to setpublic AuditSpecification.Builder isEnabledForAllUsers(Boolean isEnabledForAllUsers)
Indicates whether the policy by default is enabled for all users with no flexibility to alter the enablement conditions.
isEnabledForAllUsers
- the value to setpublic 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.
isViewOnly
- the value to setpublic AuditSpecification.Builder isSeededInTarget(Boolean isSeededInTarget)
Indicates whether the audit policy is one of the predefined policies provided by Oracle Database.
isSeededInTarget
- the value to setpublic AuditSpecification.Builder isSeededInDataSafe(Boolean isSeededInDataSafe)
Indicates whether the audit policy is one of the seeded policies provided by Oracle Data Safe.
isSeededInDataSafe
- the value to setpublic AuditSpecification.Builder isCreated(Boolean isCreated)
Indicates whether the policy is already created on the target database.
isCreated
- the value to setpublic AuditSpecification.Builder enabledEntities(AuditSpecification.EnabledEntities enabledEntities)
Indicates on whom the audit policy is enabled.
enabledEntities
- the value to setpublic AuditSpecification build()
public AuditSpecification.Builder copy(AuditSpecification model)
Copyright © 2016–2024. All rights reserved.