Class CreateAuditProfileDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public CreateAuditProfileDetails.Builder displayName​(String displayName)
        The display name of the audit profile.

        The name does not have to be unique, and it’s updatable.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • compartmentId

        public CreateAuditProfileDetails.Builder compartmentId​(String compartmentId)
        The OCID of the compartment where you want to create the audit profile.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • targetId

        public CreateAuditProfileDetails.Builder targetId​(String targetId)
        The OCID of the target database or target database group for which the audit profile is created.
        Parameters:
        targetId - the value to set
        Returns:
        this builder
      • description

        public CreateAuditProfileDetails.Builder description​(String description)
        The description of the audit profile.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • isPaidUsageEnabled

        public CreateAuditProfileDetails.Builder isPaidUsageEnabled​(Boolean isPaidUsageEnabled)
        Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges.

        The default value is inherited from the global settings. You can change at the global level or at the target level.

        Parameters:
        isPaidUsageEnabled - the value to set
        Returns:
        this builder
      • onlineMonths

        public CreateAuditProfileDetails.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 CreateAuditProfileDetails.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
      • isOverrideGlobalPaidUsage

        public CreateAuditProfileDetails.Builder isOverrideGlobalPaidUsage​(Boolean isOverrideGlobalPaidUsage)
        Indicates whether audit paid usage settings specified at the target database level override both the global and the target database group level paid usage settings.

        Enabling paid usage continues the collection of audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. For more information, see Data Safe Price List.

        Parameters:
        isOverrideGlobalPaidUsage - the value to set
        Returns:
        this builder
      • freeformTags

        public CreateAuditProfileDetails.Builder freeformTags​(Map<String,​String> freeformTags)
        Free-form tags for this resource.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags

        Example: {"Department": "Finance"}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public CreateAuditProfileDetails.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {“Operations”: {“CostCenter”: “42”}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder