public class CachingBehavior extends Object
Specifies options that affects caching behavior, such as minimum TTL values.
Constructor and Description |
---|
CachingBehavior() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Long |
getMinTTL()
Specifies the minimum TTL in seconds for objects in the CloudFront
cache.
|
int |
hashCode() |
void |
setMinTTL(Long minTTL)
Specifies the minimum TTL in seconds for objects in the CloudFront
cache.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CachingBehavior |
withMinTTL(Long minTTL)
Specifies the minimum TTL in seconds for objects in the CloudFront
cache.
|
public Long getMinTTL()
public void setMinTTL(Long minTTL)
minTTL
- Specifies the minimum TTL in seconds for objects in the CloudFront
cache.public CachingBehavior withMinTTL(Long minTTL)
Returns a reference to this object so that method calls can be chained together.
minTTL
- Specifies the minimum TTL in seconds for objects in the CloudFront
cache.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.