Interface UpdateViewRequest.Builder

    • Method Detail

      • filters

        UpdateViewRequest.Builder filters​(SearchFilter filters)

        An array of strings that specify which resources are included in the results of queries made using this view. When you use this view in a Search operation, the filter string is combined with the search's QueryString parameter using a logical AND operator.

        For information about the supported syntax, see Search query reference for Resource Explorer in the Amazon Web Services Resource Explorer User Guide.

        This query string in the context of this operation supports only filter prefixes with optional operators. It doesn't support free-form text. For example, the string region:us* service:ec2 -tag:stage=prod includes all Amazon EC2 resources in any Amazon Web Services Region that begins with the letters us and is not tagged with a key Stage that has the value prod.

        Parameters:
        filters - An array of strings that specify which resources are included in the results of queries made using this view. When you use this view in a Search operation, the filter string is combined with the search's QueryString parameter using a logical AND operator.

        For information about the supported syntax, see Search query reference for Resource Explorer in the Amazon Web Services Resource Explorer User Guide.

        This query string in the context of this operation supports only filter prefixes with optional operators. It doesn't support free-form text. For example, the string region:us* service:ec2 -tag:stage=prod includes all Amazon EC2 resources in any Amazon Web Services Region that begins with the letters us and is not tagged with a key Stage that has the value prod.

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

        default UpdateViewRequest.Builder filters​(Consumer<SearchFilter.Builder> filters)

        An array of strings that specify which resources are included in the results of queries made using this view. When you use this view in a Search operation, the filter string is combined with the search's QueryString parameter using a logical AND operator.

        For information about the supported syntax, see Search query reference for Resource Explorer in the Amazon Web Services Resource Explorer User Guide.

        This query string in the context of this operation supports only filter prefixes with optional operators. It doesn't support free-form text. For example, the string region:us* service:ec2 -tag:stage=prod includes all Amazon EC2 resources in any Amazon Web Services Region that begins with the letters us and is not tagged with a key Stage that has the value prod.

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

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

        Parameters:
        filters - a consumer that will call methods on SearchFilter.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        filters(SearchFilter)
      • includedProperties

        UpdateViewRequest.Builder includedProperties​(Collection<IncludedProperty> includedProperties)

        Specifies optional fields that you want included in search results from this view. It is a list of objects that each describe a field to include.

        The default is an empty list, with no optional fields included in the results.

        Parameters:
        includedProperties - Specifies optional fields that you want included in search results from this view. It is a list of objects that each describe a field to include.

        The default is an empty list, with no optional fields included in the results.

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

        UpdateViewRequest.Builder includedProperties​(IncludedProperty... includedProperties)

        Specifies optional fields that you want included in search results from this view. It is a list of objects that each describe a field to include.

        The default is an empty list, with no optional fields included in the results.

        Parameters:
        includedProperties - Specifies optional fields that you want included in search results from this view. It is a list of objects that each describe a field to include.

        The default is an empty list, with no optional fields included in the results.

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

        UpdateViewRequest.Builder includedProperties​(Consumer<IncludedProperty.Builder>... includedProperties)

        Specifies optional fields that you want included in search results from this view. It is a list of objects that each describe a field to include.

        The default is an empty list, with no optional fields included in the results.

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

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

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