Class LogSavedSearch.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public LogSavedSearch.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that the resource belongs to.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • name

        public LogSavedSearch.Builder name​(String name)
        The user-friendly display name.

        This must be unique within the enclosing resource, and it’s changeable. Avoid entering confidential information.

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

        public LogSavedSearch.Builder timeCreated​(Date timeCreated)
        Time the resource was created.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeLastModified

        public LogSavedSearch.Builder timeLastModified​(Date timeLastModified)
        Time the resource was last modified.
        Parameters:
        timeLastModified - the value to set
        Returns:
        this builder
      • description

        public LogSavedSearch.Builder description​(String description)
        Description for this resource.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • query

        public LogSavedSearch.Builder query​(String query)
        The search query that is saved.
        Parameters:
        query - the value to set
        Returns:
        this builder
      • definedTags

        public LogSavedSearch.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
      • freeformTags

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