Interface GetVulnerabilityResponse.Builder

  • Method Details

    • id

      The vulnerability ID.

      Parameters:
      id - The vulnerability ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • malicious

      Whether Amazon Inspector classifies this vulnerability as malicious.

      Parameters:
      malicious - Whether Amazon Inspector classifies this vulnerability as malicious.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • severity

      Amazon Inspector's severity rating.

      Parameters:
      severity - Amazon Inspector's severity rating.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • severity

      Amazon Inspector's severity rating.

      Parameters:
      severity - Amazon Inspector's severity rating.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • analysisState

      GetVulnerabilityResponse.Builder analysisState(String analysisState)

      Amazon Inspector's analysis state.

      Parameters:
      analysisState - Amazon Inspector's analysis state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • analysisState

      Amazon Inspector's analysis state.

      Parameters:
      analysisState - Amazon Inspector's analysis state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • description

      GetVulnerabilityResponse.Builder description(String description)

      A description of the vulnerability.

      Parameters:
      description - A description of the vulnerability.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cwes

      The CWE numbers of the weaknesses behind the vulnerability.

      Parameters:
      cwes - The CWE numbers of the weaknesses behind the vulnerability.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cwes

      The CWE numbers of the weaknesses behind the vulnerability.

      Parameters:
      cwes - The CWE numbers of the weaknesses behind the vulnerability.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • advisoryUrls

      GetVulnerabilityResponse.Builder advisoryUrls(Collection<String> advisoryUrls)

      URLs of advisories that describe the vulnerability.

      Parameters:
      advisoryUrls - URLs of advisories that describe the vulnerability.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • advisoryUrls

      GetVulnerabilityResponse.Builder advisoryUrls(String... advisoryUrls)

      URLs of advisories that describe the vulnerability.

      Parameters:
      advisoryUrls - URLs of advisories that describe the vulnerability.
      Returns:
      Returns a reference to this object so that method calls can be chained together.