Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudfront_2012_03_15.model
Class CachingBehavior

java.lang.Object
  extended by com.amazonaws.services.cloudfront_2012_03_15.model.CachingBehavior

public class CachingBehavior
extends Object

Specifies options that affects caching behavior, such as minimum TTL values.


Constructor Summary
CachingBehavior()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CachingBehavior

public CachingBehavior()
Method Detail

getMinTTL

public Long getMinTTL()
Specifies the minimum TTL in seconds for objects in the CloudFront cache.

Returns:
Specifies the minimum TTL in seconds for objects in the CloudFront cache.

setMinTTL

public void setMinTTL(Long minTTL)
Specifies the minimum TTL in seconds for objects in the CloudFront cache.

Parameters:
minTTL - Specifies the minimum TTL in seconds for objects in the CloudFront cache.

withMinTTL

public CachingBehavior withMinTTL(Long minTTL)
Specifies the minimum TTL in seconds for objects in the CloudFront cache.

Returns a reference to this object so that method calls can be chained together.

Parameters:
minTTL - Specifies the minimum TTL in seconds for objects in the CloudFront cache.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.