@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueryStringCacheKeys extends Object implements Serializable, Cloneable
Constructor and Description |
---|
QueryStringCacheKeys() |
Modifier and Type | Method and Description |
---|---|
QueryStringCacheKeys |
clone() |
boolean |
equals(Object obj) |
List<String> |
getItems()
(Optional) A list that contains the query string parameters that you want CloudFront to use as a basis for
caching for this cache behavior.
|
Integer |
getQuantity()
The number of
whitelisted query string parameters for this cache behavior. |
int |
hashCode() |
void |
setItems(Collection<String> items)
(Optional) A list that contains the query string parameters that you want CloudFront to use as a basis for
caching for this cache behavior.
|
void |
setQuantity(Integer quantity)
The number of
whitelisted query string parameters for this cache behavior. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
QueryStringCacheKeys |
withItems(Collection<String> items)
(Optional) A list that contains the query string parameters that you want CloudFront to use as a basis for
caching for this cache behavior.
|
QueryStringCacheKeys |
withItems(String... items)
(Optional) A list that contains the query string parameters that you want CloudFront to use as a basis for
caching for this cache behavior.
|
QueryStringCacheKeys |
withQuantity(Integer quantity)
The number of
whitelisted query string parameters for this cache behavior. |
public void setQuantity(Integer quantity)
The number of whitelisted
query string parameters for this cache behavior.
quantity
- The number of whitelisted
query string parameters for this cache behavior.public Integer getQuantity()
The number of whitelisted
query string parameters for this cache behavior.
whitelisted
query string parameters for this cache behavior.public QueryStringCacheKeys withQuantity(Integer quantity)
The number of whitelisted
query string parameters for this cache behavior.
quantity
- The number of whitelisted
query string parameters for this cache behavior.public List<String> getItems()
(Optional) A list that contains the query string parameters that you want CloudFront to use as a basis for
caching for this cache behavior. If Quantity
is 0, you can omit Items
.
Quantity
is 0, you can omit Items
.public void setItems(Collection<String> items)
(Optional) A list that contains the query string parameters that you want CloudFront to use as a basis for
caching for this cache behavior. If Quantity
is 0, you can omit Items
.
items
- (Optional) A list that contains the query string parameters that you want CloudFront to use as a basis for
caching for this cache behavior. If Quantity
is 0, you can omit Items
.public QueryStringCacheKeys withItems(String... items)
(Optional) A list that contains the query string parameters that you want CloudFront to use as a basis for
caching for this 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
- (Optional) A list that contains the query string parameters that you want CloudFront to use as a basis for
caching for this cache behavior. If Quantity
is 0, you can omit Items
.public QueryStringCacheKeys withItems(Collection<String> items)
(Optional) A list that contains the query string parameters that you want CloudFront to use as a basis for
caching for this cache behavior. If Quantity
is 0, you can omit Items
.
items
- (Optional) A list that contains the query string parameters that you want CloudFront to use as a basis for
caching for this cache behavior. If Quantity
is 0, you can omit Items
.public String toString()
toString
in class Object
Object.toString()
public QueryStringCacheKeys clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.