Class AuditSpecification.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • auditPolicyName

        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.

        Parameters:
        auditPolicyName - the value to set
        Returns:
        this builder
      • databasePolicyNames

        public 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
      • auditPolicyCategory

        public AuditSpecification.Builder auditPolicyCategory​(AuditPolicyCategory auditPolicyCategory)
        The category to which the audit policy belongs.
        Parameters:
        auditPolicyCategory - the value to set
        Returns:
        this builder
      • enableStatus

        public 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
      • partiallyEnabledMsg

        public 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
      • isEnabledForAllUsers

        public 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
      • isViewOnly

        public 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
      • isSeededInTarget

        public 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
      • isSeededInDataSafe

        public 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
      • isCreated

        public 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