Interface DescribeFleetAdvisorCollectorsRequest.Builder

    • Method Detail

      • filters

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

        If you specify any of the following filters, the output includes information for only those collectors that meet the filter criteria:

        • collector-referenced-id – The ID of the collector agent, for example d4610ac5-e323-4ad9-bc50-eaf7249dfe9d.

        • collector-name – The name of the collector agent.

        An example is: describe-fleet-advisor-collectors --filter Name="collector-referenced-id",Values="d4610ac5-e323-4ad9-bc50-eaf7249dfe9d"

        Parameters:
        filters - If you specify any of the following filters, the output includes information for only those collectors that meet the filter criteria:

        • collector-referenced-id – The ID of the collector agent, for example d4610ac5-e323-4ad9-bc50-eaf7249dfe9d.

        • collector-name – The name of the collector agent.

        An example is: describe-fleet-advisor-collectors --filter Name="collector-referenced-id",Values="d4610ac5-e323-4ad9-bc50-eaf7249dfe9d"

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

        DescribeFleetAdvisorCollectorsRequest.Builder filters​(Filter... filters)

        If you specify any of the following filters, the output includes information for only those collectors that meet the filter criteria:

        • collector-referenced-id – The ID of the collector agent, for example d4610ac5-e323-4ad9-bc50-eaf7249dfe9d.

        • collector-name – The name of the collector agent.

        An example is: describe-fleet-advisor-collectors --filter Name="collector-referenced-id",Values="d4610ac5-e323-4ad9-bc50-eaf7249dfe9d"

        Parameters:
        filters - If you specify any of the following filters, the output includes information for only those collectors that meet the filter criteria:

        • collector-referenced-id – The ID of the collector agent, for example d4610ac5-e323-4ad9-bc50-eaf7249dfe9d.

        • collector-name – The name of the collector agent.

        An example is: describe-fleet-advisor-collectors --filter Name="collector-referenced-id",Values="d4610ac5-e323-4ad9-bc50-eaf7249dfe9d"

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

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

        If you specify any of the following filters, the output includes information for only those collectors that meet the filter criteria:

        • collector-referenced-id – The ID of the collector agent, for example d4610ac5-e323-4ad9-bc50-eaf7249dfe9d.

        • collector-name – The name of the collector agent.

        An example is: describe-fleet-advisor-collectors --filter Name="collector-referenced-id",Values="d4610ac5-e323-4ad9-bc50-eaf7249dfe9d"

        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

        DescribeFleetAdvisorCollectorsRequest.Builder maxRecords​(Integer maxRecords)

        Sets the maximum number of records returned in the response.

        Parameters:
        maxRecords - Sets the maximum number of records returned in the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        DescribeFleetAdvisorCollectorsRequest.Builder nextToken​(String nextToken)

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