Class DblmVulnerability.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public DblmVulnerability.Builder compartmentId​(String compartmentId)
        Compartment Identifier.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • message

        public DblmVulnerability.Builder message​(String message)
        A message describing the status of the feature’s state.
        Parameters:
        message - the value to set
        Returns:
        this builder
      • timeEnabled

        public DblmVulnerability.Builder timeEnabled​(Date timeEnabled)
        The time the the Vulnerability was enabled.

        An RFC3339 formatted datetime string.

        Parameters:
        timeEnabled - the value to set
        Returns:
        this builder
      • resourcesSummary

        public DblmVulnerability.Builder resourcesSummary​(Object resourcesSummary)
        Summary of dblm registered and unregistered resources.
        Parameters:
        resourcesSummary - the value to set
        Returns:
        this builder
      • vulnerabilitiesSummary

        public DblmVulnerability.Builder vulnerabilitiesSummary​(Object vulnerabilitiesSummary)
        Summary of vulnerabilities found in registered resources grouped by severity.
        Parameters:
        vulnerabilitiesSummary - the value to set
        Returns:
        this builder
      • patchRecommendationsSummary

        public DblmVulnerability.Builder patchRecommendationsSummary​(Object patchRecommendationsSummary)
        Summary of the patch recommendations for databases.
        Parameters:
        patchRecommendationsSummary - the value to set
        Returns:
        this builder
      • freeformTags

        public DblmVulnerability.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”}

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

        public DblmVulnerability.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        System tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

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