@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateCachePolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
UpdateCachePolicyResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
UpdateCachePolicyResult | 
clone()  | 
boolean | 
equals(Object obj)  | 
CachePolicy | 
getCachePolicy()
 A cache policy. 
 | 
String | 
getETag()
 The current version of the cache policy. 
 | 
int | 
hashCode()  | 
void | 
setCachePolicy(CachePolicy cachePolicy)
 A cache policy. 
 | 
void | 
setETag(String eTag)
 The current version of the cache policy. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
UpdateCachePolicyResult | 
withCachePolicy(CachePolicy cachePolicy)
 A cache policy. 
 | 
UpdateCachePolicyResult | 
withETag(String eTag)
 The current version of the cache policy. 
 | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setCachePolicy(CachePolicy cachePolicy)
A cache policy.
cachePolicy - A cache policy.public CachePolicy getCachePolicy()
A cache policy.
public UpdateCachePolicyResult withCachePolicy(CachePolicy cachePolicy)
A cache policy.
cachePolicy - A cache policy.public void setETag(String eTag)
The current version of the cache policy.
eTag - The current version of the cache policy.public String getETag()
The current version of the cache policy.
public UpdateCachePolicyResult withETag(String eTag)
The current version of the cache policy.
eTag - The current version of the cache policy.public String toString()
toString in class ObjectObject.toString()public UpdateCachePolicyResult clone()