@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PathPatternConditionConfig extends Object implements Serializable, Cloneable
Information about a path pattern condition.
Constructor and Description |
---|
PathPatternConditionConfig() |
Modifier and Type | Method and Description |
---|---|
PathPatternConditionConfig |
clone() |
boolean |
equals(Object obj) |
List<String> |
getValues()
The path patterns to compare against the request URL.
|
int |
hashCode() |
void |
setValues(Collection<String> values)
The path patterns to compare against the request URL.
|
String |
toString()
Returns a string representation of this object.
|
PathPatternConditionConfig |
withValues(Collection<String> values)
The path patterns to compare against the request URL.
|
PathPatternConditionConfig |
withValues(String... values)
The path patterns to compare against the request URL.
|
public List<String> getValues()
The path patterns to compare against the request URL. The maximum size of each string is 128 characters. The comparison is case sensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string. To compare against the query string, use QueryStringConditionConfig.
If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string. To compare against the query string, use QueryStringConditionConfig.
public void setValues(Collection<String> values)
The path patterns to compare against the request URL. The maximum size of each string is 128 characters. The comparison is case sensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string. To compare against the query string, use QueryStringConditionConfig.
values
- The path patterns to compare against the request URL. The maximum size of each string is 128 characters.
The comparison is case sensitive. The following wildcard characters are supported: * (matches 0 or more
characters) and ? (matches exactly 1 character).
If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string. To compare against the query string, use QueryStringConditionConfig.
public PathPatternConditionConfig withValues(String... values)
The path patterns to compare against the request URL. The maximum size of each string is 128 characters. The comparison is case sensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string. To compare against the query string, use QueryStringConditionConfig.
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 path patterns to compare against the request URL. The maximum size of each string is 128 characters.
The comparison is case sensitive. The following wildcard characters are supported: * (matches 0 or more
characters) and ? (matches exactly 1 character).
If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string. To compare against the query string, use QueryStringConditionConfig.
public PathPatternConditionConfig withValues(Collection<String> values)
The path patterns to compare against the request URL. The maximum size of each string is 128 characters. The comparison is case sensitive. The following wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).
If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string. To compare against the query string, use QueryStringConditionConfig.
values
- The path patterns to compare against the request URL. The maximum size of each string is 128 characters.
The comparison is case sensitive. The following wildcard characters are supported: * (matches 0 or more
characters) and ? (matches exactly 1 character).
If you specify multiple strings, the condition is satisfied if one of them matches the request URL. The path pattern is compared only to the path of the URL, not to its query string. To compare against the query string, use QueryStringConditionConfig.
public String toString()
toString
in class Object
Object.toString()
public PathPatternConditionConfig clone()