Class AuditProfileSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public AuditProfileSummary.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains the audit profile.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public AuditProfileSummary.Builder displayName​(String displayName)
        The display name of the audit profile.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • timeCreated

        public AuditProfileSummary.Builder timeCreated​(Date timeCreated)
        The date and time the audit profile was created, in the format defined by RFC3339.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public AuditProfileSummary.Builder timeUpdated​(Date timeUpdated)
        The date and time the audit profile was updated, in the format defined by RFC3339.
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • targetId

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

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

        public AuditProfileSummary.Builder lifecycleDetails​(String lifecycleDetails)
        Details about the current state of the audit profile in Data Safe.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • isPaidUsageEnabled

        public AuditProfileSummary.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 AuditProfileSummary.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 AuditProfileSummary.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
      • auditCollectedVolume

        public AuditProfileSummary.Builder auditCollectedVolume​(Long auditCollectedVolume)
        Indicates count of audit records collected by Data Safe from the target which is eligible for the current month’s billing cycle.

        Audit records for actions performed by Data Safe service account on the target is excluded.

        Parameters:
        auditCollectedVolume - the value to set
        Returns:
        this builder
      • isOverrideGlobalRetentionSetting

        public AuditProfileSummary.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
      • freeformTags

        public AuditProfileSummary.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 AuditProfileSummary.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