@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueryStringConditionConfig extends Object implements Serializable, Cloneable
Information about a query string condition.
The query string component of a URI starts after the first '?' character and is terminated by either a '#' character or the end of the URI. A typical query string contains key/value pairs separated by '&' characters. The allowed characters are specified by RFC 3986. Any character can be percentage encoded.
Constructor and Description |
---|
QueryStringConditionConfig() |
Modifier and Type | Method and Description |
---|---|
QueryStringConditionConfig |
clone() |
boolean |
equals(Object obj) |
List<QueryStringKeyValuePair> |
getValues()
The key/value pairs or values to find in the query string.
|
int |
hashCode() |
void |
setValues(Collection<QueryStringKeyValuePair> values)
The key/value pairs or values to find in the query string.
|
String |
toString()
Returns a string representation of this object.
|
QueryStringConditionConfig |
withValues(Collection<QueryStringKeyValuePair> values)
The key/value pairs or values to find in the query string.
|
QueryStringConditionConfig |
withValues(QueryStringKeyValuePair... values)
The key/value pairs or values to find in the query string.
|
public List<QueryStringKeyValuePair> getValues()
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.
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.
public void setValues(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.
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.
public QueryStringConditionConfig withValues(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.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
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.
public QueryStringConditionConfig withValues(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.
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.
public String toString()
toString
in class Object
Object.toString()
public QueryStringConditionConfig clone()