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