Class SecurityRecipe.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

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

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

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

        public SecurityRecipe.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains the recipe
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • securityPolicies

        public SecurityRecipe.Builder securityPolicies​(List<String> securityPolicies)
        The list of security policy IDs that are included in the recipe
        Parameters:
        securityPolicies - the value to set
        Returns:
        this builder
      • timeCreated

        public SecurityRecipe.Builder timeCreated​(Date timeCreated)
        The time the recipe was created.

        An RFC3339 formatted datetime string.

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

        public SecurityRecipe.Builder timeUpdated​(Date timeUpdated)
        The time the recipe was last updated.

        An RFC3339 formatted datetime string.

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

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

        public SecurityRecipe.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 recipe in the Failed state.

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

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