@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueryStringCacheKeys extends Object implements Serializable, Cloneable
A complex type that contains information about the query string parameters that you want CloudFront to use for caching for a cache behavior.
| Constructor and Description |
|---|
QueryStringCacheKeys() |
| Modifier and Type | Method and Description |
|---|---|
QueryStringCacheKeys |
clone() |
boolean |
equals(Object obj) |
List<String> |
getItems()
A list that contains the query string parameters that you want CloudFront to use as a basis for caching for a
cache behavior.
|
Integer |
getQuantity()
The number of
whitelisted query string parameters for a cache behavior. |
int |
hashCode() |
void |
setItems(Collection<String> items)
A list that contains the query string parameters that you want CloudFront to use as a basis for caching for a
cache behavior.
|
void |
setQuantity(Integer quantity)
The number of
whitelisted query string parameters for a cache behavior. |
String |
toString()
Returns a string representation of this object.
|
QueryStringCacheKeys |
withItems(Collection<String> items)
A list that contains the query string parameters that you want CloudFront to use as a basis for caching for a
cache behavior.
|
QueryStringCacheKeys |
withItems(String... items)
A list that contains the query string parameters that you want CloudFront to use as a basis for caching for a
cache behavior.
|
QueryStringCacheKeys |
withQuantity(Integer quantity)
The number of
whitelisted query string parameters for a cache behavior. |
public void setQuantity(Integer quantity)
The number of whitelisted query string parameters for a cache behavior.
quantity - The number of whitelisted query string parameters for a cache behavior.public Integer getQuantity()
The number of whitelisted query string parameters for a cache behavior.
whitelisted query string parameters for a cache behavior.public QueryStringCacheKeys withQuantity(Integer quantity)
The number of whitelisted query string parameters for a cache behavior.
quantity - The number of whitelisted query string parameters for a cache behavior.public List<String> getItems()
A list that contains the query string parameters that you want CloudFront to use as a basis for caching for a
cache behavior. If Quantity is 0, you can omit Items.
Quantity is 0, you can omit Items.public void setItems(Collection<String> items)
A list that contains the query string parameters that you want CloudFront to use as a basis for caching for a
cache behavior. If Quantity is 0, you can omit Items.
items - A list that contains the query string parameters that you want CloudFront to use as a basis for caching
for a cache behavior. If Quantity is 0, you can omit Items.public QueryStringCacheKeys withItems(String... items)
A list that contains the query string parameters that you want CloudFront to use as a basis for caching for a
cache behavior. If Quantity is 0, you can omit Items.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection) or withItems(java.util.Collection) if you want to override the
existing values.
items - A list that contains the query string parameters that you want CloudFront to use as a basis for caching
for a cache behavior. If Quantity is 0, you can omit Items.public QueryStringCacheKeys withItems(Collection<String> items)
A list that contains the query string parameters that you want CloudFront to use as a basis for caching for a
cache behavior. If Quantity is 0, you can omit Items.
items - A list that contains the query string parameters that you want CloudFront to use as a basis for caching
for a cache behavior. If Quantity is 0, you can omit Items.public String toString()
toString in class ObjectObject.toString()public QueryStringCacheKeys clone()
Copyright © 2020. All rights reserved.