Class SecurityPolicySummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public SecurityPolicySummary.Builder id​(String id)
        Unique identifier that can\u2019t be changed after creation
        Parameters:
        id - the value to set
        Returns:
        this builder
      • friendlyName

        public SecurityPolicySummary.Builder friendlyName​(String friendlyName)
        A shorter version of the security policy’s name
        Parameters:
        friendlyName - the value to set
        Returns:
        this builder
      • displayName

        public SecurityPolicySummary.Builder displayName​(String displayName)
        The security policy’s display name
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public SecurityPolicySummary.Builder description​(String description)
        The security policy’s description
        Parameters:
        description - the value to set
        Returns:
        this builder
      • compartmentId

        public SecurityPolicySummary.Builder compartmentId​(String compartmentId)
        The OCID of the security policy’s compartment
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • category

        public SecurityPolicySummary.Builder category​(String category)
        The category of the security policy
        Parameters:
        category - the value to set
        Returns:
        this builder
      • services

        public SecurityPolicySummary.Builder services​(List<String> services)
        The list of services that the security policy protects
        Parameters:
        services - the value to set
        Returns:
        this builder
      • timeCreated

        public SecurityPolicySummary.Builder timeCreated​(Date timeCreated)
        The date and time the security policy was created.

        An RFC3339 formatted datetime string.

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public SecurityPolicySummary.Builder timeUpdated​(Date timeUpdated)
        The date and time the security policy was last updated.

        An RFC3339 formatted datetime string.

        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • lifecycleState

        public SecurityPolicySummary.Builder lifecycleState​(LifecycleState lifecycleState)
        The current lifecycle state of the security policy
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public SecurityPolicySummary.Builder lifecycleDetails​(String lifecycleDetails)
        A message describing the current state in more detail.

        For example, this can be used to provide actionable information for a policy in the Failed state.

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

        public SecurityPolicySummary.Builder freeformTags​(Map<String,​String> freeformTags)
        Simple key-value pair that is applied without any predefined name, type or scope.

        Exists for cross-compatibility only. Example: {“bar-key”: “value”}

        Avoid entering confidential information.

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

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

        Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

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

        public SecurityPolicySummary.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. System tags can be viewed by users, but can only be created by the system.

        Example: {"orcl-cloud": {"free-tier-retained": "true"}}

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