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