Interface GetInventoryRequest.Builder

    • Method Detail

      • filters

        GetInventoryRequest.Builder filters​(Collection<InventoryFilter> filters)

        One or more filters. Use a filter to return a more specific list of results.

        Parameters:
        filters - One or more filters. Use a filter to return a more specific list of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        GetInventoryRequest.Builder filters​(InventoryFilter... filters)

        One or more filters. Use a filter to return a more specific list of results.

        Parameters:
        filters - One or more filters. Use a filter to return a more specific list of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • aggregators

        GetInventoryRequest.Builder aggregators​(Collection<InventoryAggregator> aggregators)

        Returns counts of inventory types based on one or more expressions. For example, if you aggregate by using an expression that uses the AWS:InstanceInformation.PlatformType type, you can see a count of how many Windows and Linux managed nodes exist in your inventoried fleet.

        Parameters:
        aggregators - Returns counts of inventory types based on one or more expressions. For example, if you aggregate by using an expression that uses the AWS:InstanceInformation.PlatformType type, you can see a count of how many Windows and Linux managed nodes exist in your inventoried fleet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • aggregators

        GetInventoryRequest.Builder aggregators​(InventoryAggregator... aggregators)

        Returns counts of inventory types based on one or more expressions. For example, if you aggregate by using an expression that uses the AWS:InstanceInformation.PlatformType type, you can see a count of how many Windows and Linux managed nodes exist in your inventoried fleet.

        Parameters:
        aggregators - Returns counts of inventory types based on one or more expressions. For example, if you aggregate by using an expression that uses the AWS:InstanceInformation.PlatformType type, you can see a count of how many Windows and Linux managed nodes exist in your inventoried fleet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • aggregators

        GetInventoryRequest.Builder aggregators​(Consumer<InventoryAggregator.Builder>... aggregators)

        Returns counts of inventory types based on one or more expressions. For example, if you aggregate by using an expression that uses the AWS:InstanceInformation.PlatformType type, you can see a count of how many Windows and Linux managed nodes exist in your inventoried fleet.

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

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

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

        GetInventoryRequest.Builder resultAttributes​(Collection<ResultAttribute> resultAttributes)

        The list of inventory item types to return.

        Parameters:
        resultAttributes - The list of inventory item types to return.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resultAttributes

        GetInventoryRequest.Builder resultAttributes​(ResultAttribute... resultAttributes)

        The list of inventory item types to return.

        Parameters:
        resultAttributes - The list of inventory item types to return.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        GetInventoryRequest.Builder nextToken​(String nextToken)

        The token for the next set of items to return. (You received this token from a previous call.)

        Parameters:
        nextToken - The token for the next set of items to return. (You received this token from a previous call.)
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        GetInventoryRequest.Builder maxResults​(Integer maxResults)

        The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

        Parameters:
        maxResults - The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.