Package com.oracle.bmc.waas.model
Class CachingRuleCriteria.Builder
- java.lang.Object
-
- com.oracle.bmc.waas.model.CachingRuleCriteria.Builder
-
- Enclosing class:
- CachingRuleCriteria
public static class CachingRuleCriteria.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CachingRuleCriteriabuild()CachingRuleCriteria.Buildercondition(CachingRuleCriteria.Condition condition)The condition of the caching rule criteria.CachingRuleCriteria.Buildercopy(CachingRuleCriteria model)CachingRuleCriteria.Buildervalue(String value)The value of the caching rule criteria.
-
-
-
Method Detail
-
condition
public CachingRuleCriteria.Builder condition(CachingRuleCriteria.Condition condition)
The condition of the caching rule criteria.- URL_IS: Matches if the concatenation of request URL path and query is identical to the contents of the value field.
- **URL_STARTS_WITH:** Matches if the concatenation of request URL path and query starts with the contents of the value field.
- **URL_PART_ENDS_WITH:** Matches if the concatenation of request URL path and query ends with the contents of the value field.
- **URL_PART_CONTAINS:** Matches if the concatenation of request URL path and query contains the contents of the value field.
URLs must start with a /. URLs can't contain restricted double slashes //. URLs can't contain the restricted ' & ? symbols. Resources to cache can only be specified by a URL, any query parameters are ignored.
- Parameters:
condition- the value to set- Returns:
- this builder
-
value
public CachingRuleCriteria.Builder value(String value)
The value of the caching rule criteria.- Parameters:
value- the value to set- Returns:
- this builder
-
build
public CachingRuleCriteria build()
-
copy
public CachingRuleCriteria.Builder copy(CachingRuleCriteria model)
-
-