Interface ListResourceInventoryRequest.Builder

    • Method Detail

      • maxResults

        ListResourceInventoryRequest.Builder maxResults​(Integer maxResults)

        Maximum number of results to return in a single call.

        Parameters:
        maxResults - Maximum number of results to return in a single call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListResourceInventoryRequest.Builder nextToken​(String nextToken)

        Token for the next set of results.

        Parameters:
        nextToken - Token for the next set of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

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

        Filters to scope the results. The following filters and logical operators are supported:

        • account_id - The ID of the Amazon Web Services account that owns the resource. Logical operators are EQUALS | NOT_EQUALS.

        • application_name - The name of the application. Logical operators are EQUALS | BEGINS_WITH.

        • license_included - The type of license included. Logical operators are EQUALS | NOT_EQUALS. Possible values are sql-server-enterprise | sql-server-standard | sql-server-web | windows-server-datacenter.

        • platform - The platform of the resource. Logical operators are EQUALS | BEGINS_WITH.

        • resource_id - The ID of the resource. Logical operators are EQUALS | NOT_EQUALS.

        • tag:<key> - The key/value combination of a tag assigned to the resource. Logical operators are EQUALS (single account) or EQUALS | NOT_EQUALS (cross account).

        Parameters:
        filters - Filters to scope the results. The following filters and logical operators are supported:

        • account_id - The ID of the Amazon Web Services account that owns the resource. Logical operators are EQUALS | NOT_EQUALS.

        • application_name - The name of the application. Logical operators are EQUALS | BEGINS_WITH.

        • license_included - The type of license included. Logical operators are EQUALS | NOT_EQUALS. Possible values are sql-server-enterprise | sql-server-standard | sql-server-web | windows-server-datacenter.

        • platform - The platform of the resource. Logical operators are EQUALS | BEGINS_WITH.

        • resource_id - The ID of the resource. Logical operators are EQUALS | NOT_EQUALS.

        • tag:<key> - The key/value combination of a tag assigned to the resource. Logical operators are EQUALS (single account) or EQUALS | NOT_EQUALS (cross account).

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

        ListResourceInventoryRequest.Builder filters​(InventoryFilter... filters)

        Filters to scope the results. The following filters and logical operators are supported:

        • account_id - The ID of the Amazon Web Services account that owns the resource. Logical operators are EQUALS | NOT_EQUALS.

        • application_name - The name of the application. Logical operators are EQUALS | BEGINS_WITH.

        • license_included - The type of license included. Logical operators are EQUALS | NOT_EQUALS. Possible values are sql-server-enterprise | sql-server-standard | sql-server-web | windows-server-datacenter.

        • platform - The platform of the resource. Logical operators are EQUALS | BEGINS_WITH.

        • resource_id - The ID of the resource. Logical operators are EQUALS | NOT_EQUALS.

        • tag:<key> - The key/value combination of a tag assigned to the resource. Logical operators are EQUALS (single account) or EQUALS | NOT_EQUALS (cross account).

        Parameters:
        filters - Filters to scope the results. The following filters and logical operators are supported:

        • account_id - The ID of the Amazon Web Services account that owns the resource. Logical operators are EQUALS | NOT_EQUALS.

        • application_name - The name of the application. Logical operators are EQUALS | BEGINS_WITH.

        • license_included - The type of license included. Logical operators are EQUALS | NOT_EQUALS. Possible values are sql-server-enterprise | sql-server-standard | sql-server-web | windows-server-datacenter.

        • platform - The platform of the resource. Logical operators are EQUALS | BEGINS_WITH.

        • resource_id - The ID of the resource. Logical operators are EQUALS | NOT_EQUALS.

        • tag:<key> - The key/value combination of a tag assigned to the resource. Logical operators are EQUALS (single account) or EQUALS | NOT_EQUALS (cross account).

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

        ListResourceInventoryRequest.Builder filters​(Consumer<InventoryFilter.Builder>... filters)

        Filters to scope the results. The following filters and logical operators are supported:

        • account_id - The ID of the Amazon Web Services account that owns the resource. Logical operators are EQUALS | NOT_EQUALS.

        • application_name - The name of the application. Logical operators are EQUALS | BEGINS_WITH.

        • license_included - The type of license included. Logical operators are EQUALS | NOT_EQUALS. Possible values are sql-server-enterprise | sql-server-standard | sql-server-web | windows-server-datacenter.

        • platform - The platform of the resource. Logical operators are EQUALS | BEGINS_WITH.

        • resource_id - The ID of the resource. Logical operators are EQUALS | NOT_EQUALS.

        • tag:<key> - The key/value combination of a tag assigned to the resource. Logical operators are EQUALS (single account) or EQUALS | NOT_EQUALS (cross account).

        This is a convenience method that creates an instance of the InventoryFilter.Builder avoiding the need to create one manually via InventoryFilter.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 InventoryFilter.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #filters(java.util.Collection)