Interface ListResourceScanResourcesResponse.Builder

  • Method Details

    • resources

      List of up to MaxResults resources in the specified resource scan that match all of the specified filters.

      Parameters:
      resources - List of up to MaxResults resources in the specified resource scan that match all of the specified filters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      List of up to MaxResults resources in the specified resource scan that match all of the specified filters.

      Parameters:
      resources - List of up to MaxResults resources in the specified resource scan that match all of the specified filters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      List of up to MaxResults resources in the specified resource scan that match all of the specified filters.

      This is a convenience method that creates an instance of the ScannedResource.Builder avoiding the need to create one manually via ScannedResource.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resources(List<ScannedResource>).

      Parameters:
      resources - a consumer that will call methods on ScannedResource.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListResourceScanResources again and use that value for the NextToken parameter. If the request returns all results, NextToken is set to an empty string.

      Parameters:
      nextToken - If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListResourceScanResources again and use that value for the NextToken parameter. If the request returns all results, NextToken is set to an empty string.
      Returns:
      Returns a reference to this object so that method calls can be chained together.