Interface ListScansRequest.Builder

    • Method Detail

      • maxResults

        ListScansRequest.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.

        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListScansRequest.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.