Interface QueryStringConditionConfig.Builder

    • Method Detail

      • values

        QueryStringConditionConfig.Builder values​(Collection<QueryStringKeyValuePair> values)

        The key/value pairs or values to find in the query string. The maximum size of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in Values using a '\' character.

        If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.

        Parameters:
        values - The key/value pairs or values to find in the query string. The maximum size of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in Values using a '\' character.

        If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.

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

        QueryStringConditionConfig.Builder values​(QueryStringKeyValuePair... values)

        The key/value pairs or values to find in the query string. The maximum size of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in Values using a '\' character.

        If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.

        Parameters:
        values - The key/value pairs or values to find in the query string. The maximum size of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in Values using a '\' character.

        If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.

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

        QueryStringConditionConfig.Builder values​(Consumer<QueryStringKeyValuePair.Builder>... values)

        The key/value pairs or values to find in the query string. The maximum size of each string is 128 characters. The comparison is case insensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character). To search for a literal '*' or '?' character in a query string, you must escape these characters in Values using a '\' character.

        If you specify multiple key/value pairs or values, the condition is satisfied if one of them is found in the query string.

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

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

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