Class ResourceVulnerability.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • description

        public ResourceVulnerability.Builder description​(String description)
        The description of the vulnerability
        Parameters:
        description - the value to set
        Returns:
        this builder
      • timeFirstDetected

        public ResourceVulnerability.Builder timeFirstDetected​(Date timeFirstDetected)
        First detected time
        Parameters:
        timeFirstDetected - the value to set
        Returns:
        this builder
      • timeLastDetected

        public ResourceVulnerability.Builder timeLastDetected​(Date timeLastDetected)
        First detected time
        Parameters:
        timeLastDetected - the value to set
        Returns:
        this builder
      • timePublished

        public ResourceVulnerability.Builder timePublished​(Date timePublished)
        Time the vulnerability was published
        Parameters:
        timePublished - the value to set
        Returns:
        this builder
      • timeLastModified

        public ResourceVulnerability.Builder timeLastModified​(Date timeLastModified)
        Time the vulnerability was last modified
        Parameters:
        timeLastModified - the value to set
        Returns:
        this builder
      • freeformTags

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