Class UnifiedAuditPolicy.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public UnifiedAuditPolicy.Builder compartmentId​(String compartmentId)
        The OCID of the compartment containing the unified audit policy.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public UnifiedAuditPolicy.Builder displayName​(String displayName)
        The display name of the unified audit policy.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public UnifiedAuditPolicy.Builder description​(String description)
        The description of the unified audit policy.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • securityPolicyId

        public UnifiedAuditPolicy.Builder securityPolicyId​(String securityPolicyId)
        The OCID of the security policy corresponding to the unified audit policy.
        Parameters:
        securityPolicyId - the value to set
        Returns:
        this builder
      • unifiedAuditPolicyDefinitionId

        public UnifiedAuditPolicy.Builder unifiedAuditPolicyDefinitionId​(String unifiedAuditPolicyDefinitionId)
        The OCID of the associated unified audit policy definition.
        Parameters:
        unifiedAuditPolicyDefinitionId - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public UnifiedAuditPolicy.Builder lifecycleDetails​(String lifecycleDetails)
        The details of the current state of the unified audit policy in Data Safe.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • isSeeded

        public UnifiedAuditPolicy.Builder isSeeded​(Boolean isSeeded)
        Indicates whether the unified audit policy is seeded or not.
        Parameters:
        isSeeded - the value to set
        Returns:
        this builder
      • timeCreated

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

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

        public UnifiedAuditPolicy.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 UnifiedAuditPolicy.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
      • systemTags

        public UnifiedAuditPolicy.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        System tags for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

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