Interface GetFindingsRequest.Builder

  • Method Details

    • maxResults

      GetFindingsRequest.Builder maxResults(Integer maxResults)

      The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the nextToken element is returned in the response. Use nextToken in a subsequent request to retrieve additional results. If not specified, returns 1000 results.

      Parameters:
      maxResults - The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the nextToken element is returned in the response. Use nextToken in a subsequent request to retrieve additional results. If not specified, returns 1000 results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      GetFindingsRequest.Builder nextToken(String nextToken)

      A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.

      Parameters:
      nextToken - A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scanName

      GetFindingsRequest.Builder scanName(String scanName)

      The name of the scan you want to retrieve findings from.

      Parameters:
      scanName - The name of the scan you want to retrieve findings from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the findings you want to get. Pass either Open, Closed, or All.

      Parameters:
      status - The status of the findings you want to get. Pass either Open, Closed, or All.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the findings you want to get. Pass either Open, Closed, or All.

      Parameters:
      status - The status of the findings you want to get. Pass either Open, Closed, or All.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      GetFindingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.