Interface DescribeRecommendationsRequest.Builder

    • Method Detail

      • filters

        DescribeRecommendationsRequest.Builder filters​(Collection<Filter> filters)

        Filters applied to the target engine recommendations described in the form of key-value pairs.

        Parameters:
        filters - Filters applied to the target engine recommendations described in the form of key-value pairs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        DescribeRecommendationsRequest.Builder filters​(Filter... filters)

        Filters applied to the target engine recommendations described in the form of key-value pairs.

        Parameters:
        filters - Filters applied to the target engine recommendations described in the form of key-value pairs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        DescribeRecommendationsRequest.Builder filters​(Consumer<Filter.Builder>... filters)

        Filters applied to the target engine recommendations described in the form of key-value pairs.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #filters(List).

        Parameters:
        filters - a consumer that will call methods on Filter.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #filters(java.util.Collection)
      • maxRecords

        DescribeRecommendationsRequest.Builder maxRecords​(Integer maxRecords)

        The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, Fleet Advisor includes a pagination token in the response so that you can retrieve the remaining results.

        Parameters:
        maxRecords - The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, Fleet Advisor includes a pagination token in the response so that you can retrieve the remaining results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        DescribeRecommendationsRequest.Builder nextToken​(String nextToken)

        Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

        If NextToken is returned by a previous response, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

        Parameters:
        nextToken - Specifies the unique pagination token that makes it possible to display the next page of results. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

        If NextToken is returned by a previous response, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.

        Returns:
        Returns a reference to this object so that method calls can be chained together.