Class SecurityZone.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

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

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

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

        public SecurityZone.Builder compartmentId​(String compartmentId)
        The OCID of the compartment for the security zone
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • securityZoneRecipeId

        public SecurityZone.Builder securityZoneRecipeId​(String securityZoneRecipeId)
        The OCID of the recipe (SecurityRecipe resource) for the security zone
        Parameters:
        securityZoneRecipeId - the value to set
        Returns:
        this builder
      • securityZoneTargetId

        public SecurityZone.Builder securityZoneTargetId​(String securityZoneTargetId)
        The OCID of the target associated with the security zone
        Parameters:
        securityZoneTargetId - the value to set
        Returns:
        this builder
      • inheritedByCompartments

        public SecurityZone.Builder inheritedByCompartments​(List<String> inheritedByCompartments)
        List of inherited compartments
        Parameters:
        inheritedByCompartments - the value to set
        Returns:
        this builder
      • timeCreated

        public SecurityZone.Builder timeCreated​(Date timeCreated)
        The time the security zone was created.

        An RFC3339 formatted datetime string.

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

        public SecurityZone.Builder timeUpdated​(Date timeUpdated)
        The time the security zone was last updated.

        An RFC3339 formatted datetime string.

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

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

        public SecurityZone.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 zone in the Failed state.

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

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