Class Include.Builder

  • Enclosing class:
    Include

    public static class Include.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartments

        public Include.Builder compartments​(List<Compartments> compartments)
        List of compartment objects, each containing the OCID of the compartment and a boolean value that indicates whether the target databases in the compartments and sub-compartments should also be included in the target database group.
        Parameters:
        compartments - the value to set
        Returns:
        this builder
      • targetDatabaseIds

        public Include.Builder targetDatabaseIds​(List<String> targetDatabaseIds)
        The list of target database OCIDs to be included in the target database group.
        Parameters:
        targetDatabaseIds - the value to set
        Returns:
        this builder
      • freeformTags

        public Include.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 Include.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
      • freeformTagsIn

        public Include.Builder freeformTagsIn​(Map<String,​Object> freeformTagsIn)
        Map of freeform tag filters.

        Each key maps to an array of strings. Target database matches the key if it’s tag value equals any of the values in the array.

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

        public Include.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        Map of system tag filters.

        Target database matches when for each specified namespace.key and the tag value equals any of the values in the array.

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