JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

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 GetFindingsResult

    • Constructor Detail

      • GetFindingsResult

        public GetFindingsResult()
    • Method Detail

      • getFindings

        public List<Finding> getFindings()

        A list of findings generated by the specified scan.

        Returns:
        A list of findings generated by the specified scan.
      • setFindings

        public void setFindings(Collection<Finding> findings)

        A list of findings generated by the specified scan.

        Parameters:
        findings - A list of findings generated by the specified scan.
      • withFindings

        public GetFindingsResult withFindings(Finding... findings)

        A list of findings generated by the specified scan.

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

        Parameters:
        findings - A list of findings generated by the specified scan.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withFindings

        public GetFindingsResult withFindings(Collection<Finding> findings)

        A list of findings generated by the specified scan.

        Parameters:
        findings - A list of findings generated by the specified scan.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNextToken

        public void setNextToken(String nextToken)

        A pagination token. You can use this in future calls to GetFindings to continue listing results after the current page.

        Parameters:
        nextToken - A pagination token. You can use this in future calls to GetFindings to continue listing results after the current page.
      • getNextToken

        public String getNextToken()

        A pagination token. You can use this in future calls to GetFindings to continue listing results after the current page.

        Returns:
        A pagination token. You can use this in future calls to GetFindings to continue listing results after the current page.
      • withNextToken

        public GetFindingsResult withNextToken(String nextToken)

        A pagination token. You can use this in future calls to GetFindings to continue listing results after the current page.

        Parameters:
        nextToken - A pagination token. You can use this in future calls to GetFindings to continue listing results after the current page.
        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 によって変換されたページ (->オリジナル) /