JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.codegurusecurity.model

Class MetricsSummary

    • Constructor Detail

      • MetricsSummary

        public MetricsSummary()
    • Method Detail

      • getCategoriesWithMostFindings

        public List<CategoryWithFindingNum> getCategoriesWithMostFindings()

        A list of CategoryWithFindingNum objects for the top 5 finding categories with the most findings.

        Returns:
        A list of CategoryWithFindingNum objects for the top 5 finding categories with the most findings.
      • setCategoriesWithMostFindings

        public void setCategoriesWithMostFindings(Collection<CategoryWithFindingNum> categoriesWithMostFindings)

        A list of CategoryWithFindingNum objects for the top 5 finding categories with the most findings.

        Parameters:
        categoriesWithMostFindings - A list of CategoryWithFindingNum objects for the top 5 finding categories with the most findings.
      • withCategoriesWithMostFindings

        public MetricsSummary withCategoriesWithMostFindings(Collection<CategoryWithFindingNum> categoriesWithMostFindings)

        A list of CategoryWithFindingNum objects for the top 5 finding categories with the most findings.

        Parameters:
        categoriesWithMostFindings - A list of CategoryWithFindingNum objects for the top 5 finding categories with the most findings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDate

        public void setDate(Date date)

        The date from which the metrics summary information was retrieved.

        Parameters:
        date - The date from which the metrics summary information was retrieved.
      • getDate

        public Date getDate()

        The date from which the metrics summary information was retrieved.

        Returns:
        The date from which the metrics summary information was retrieved.
      • withDate

        public MetricsSummary withDate(Date date)

        The date from which the metrics summary information was retrieved.

        Parameters:
        date - The date from which the metrics summary information was retrieved.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setOpenFindings

        public void setOpenFindings(FindingMetricsValuePerSeverity openFindings)

        The number of open findings of each severity.

        Parameters:
        openFindings - The number of open findings of each severity.
      • getOpenFindings

        public FindingMetricsValuePerSeverity getOpenFindings()

        The number of open findings of each severity.

        Returns:
        The number of open findings of each severity.
      • withOpenFindings

        public MetricsSummary withOpenFindings(FindingMetricsValuePerSeverity openFindings)

        The number of open findings of each severity.

        Parameters:
        openFindings - The number of open findings of each severity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getScansWithMostOpenCriticalFindings

        public List<ScanNameWithFindingNum> getScansWithMostOpenCriticalFindings()

        A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open critical findings.

        Returns:
        A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open critical findings.
      • setScansWithMostOpenCriticalFindings

        public void setScansWithMostOpenCriticalFindings(Collection<ScanNameWithFindingNum> scansWithMostOpenCriticalFindings)

        A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open critical findings.

        Parameters:
        scansWithMostOpenCriticalFindings - A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open critical findings.
      • withScansWithMostOpenCriticalFindings

        public MetricsSummary withScansWithMostOpenCriticalFindings(Collection<ScanNameWithFindingNum> scansWithMostOpenCriticalFindings)

        A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open critical findings.

        Parameters:
        scansWithMostOpenCriticalFindings - A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open critical findings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getScansWithMostOpenFindings

        public List<ScanNameWithFindingNum> getScansWithMostOpenFindings()

        A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings.

        Returns:
        A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings.
      • setScansWithMostOpenFindings

        public void setScansWithMostOpenFindings(Collection<ScanNameWithFindingNum> scansWithMostOpenFindings)

        A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings.

        Parameters:
        scansWithMostOpenFindings - A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings.
      • withScansWithMostOpenFindings

        public MetricsSummary withScansWithMostOpenFindings(ScanNameWithFindingNum... scansWithMostOpenFindings)

        A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings.

        NOTE: This method appends the values to the existing list (if any). Use setScansWithMostOpenFindings(java.util.Collection) or withScansWithMostOpenFindings(java.util.Collection) if you want to override the existing values.

        Parameters:
        scansWithMostOpenFindings - A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withScansWithMostOpenFindings

        public MetricsSummary withScansWithMostOpenFindings(Collection<ScanNameWithFindingNum> scansWithMostOpenFindings)

        A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings.

        Parameters:
        scansWithMostOpenFindings - A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /