@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateCachePolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateCachePolicyRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateCachePolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
CachePolicyConfig |
getCachePolicyConfig()
A cache policy configuration.
|
String |
getId()
The unique identifier for the cache policy that you are updating.
|
String |
getIfMatch()
The version of the cache policy that you are updating.
|
int |
hashCode() |
void |
setCachePolicyConfig(CachePolicyConfig cachePolicyConfig)
A cache policy configuration.
|
void |
setId(String id)
The unique identifier for the cache policy that you are updating.
|
void |
setIfMatch(String ifMatch)
The version of the cache policy that you are updating.
|
String |
toString()
Returns a string representation of this object.
|
UpdateCachePolicyRequest |
withCachePolicyConfig(CachePolicyConfig cachePolicyConfig)
A cache policy configuration.
|
UpdateCachePolicyRequest |
withId(String id)
The unique identifier for the cache policy that you are updating.
|
UpdateCachePolicyRequest |
withIfMatch(String ifMatch)
The version of the cache policy that you are updating.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCachePolicyConfig(CachePolicyConfig cachePolicyConfig)
A cache policy configuration.
cachePolicyConfig
- A cache policy configuration.public CachePolicyConfig getCachePolicyConfig()
A cache policy configuration.
public UpdateCachePolicyRequest withCachePolicyConfig(CachePolicyConfig cachePolicyConfig)
A cache policy configuration.
cachePolicyConfig
- A cache policy configuration.public void setId(String id)
The unique identifier for the cache policy that you are updating. The identifier is returned in a cache
behavior's CachePolicyId
field in the response to GetDistributionConfig
.
id
- The unique identifier for the cache policy that you are updating. The identifier is returned in a cache
behavior's CachePolicyId
field in the response to GetDistributionConfig
.public String getId()
The unique identifier for the cache policy that you are updating. The identifier is returned in a cache
behavior's CachePolicyId
field in the response to GetDistributionConfig
.
CachePolicyId
field in the response to GetDistributionConfig
.public UpdateCachePolicyRequest withId(String id)
The unique identifier for the cache policy that you are updating. The identifier is returned in a cache
behavior's CachePolicyId
field in the response to GetDistributionConfig
.
id
- The unique identifier for the cache policy that you are updating. The identifier is returned in a cache
behavior's CachePolicyId
field in the response to GetDistributionConfig
.public void setIfMatch(String ifMatch)
The version of the cache policy that you are updating. The version is returned in the cache policy's
ETag
field in the response to GetCachePolicyConfig
.
ifMatch
- The version of the cache policy that you are updating. The version is returned in the cache policy's
ETag
field in the response to GetCachePolicyConfig
.public String getIfMatch()
The version of the cache policy that you are updating. The version is returned in the cache policy's
ETag
field in the response to GetCachePolicyConfig
.
ETag
field in the response to GetCachePolicyConfig
.public UpdateCachePolicyRequest withIfMatch(String ifMatch)
The version of the cache policy that you are updating. The version is returned in the cache policy's
ETag
field in the response to GetCachePolicyConfig
.
ifMatch
- The version of the cache policy that you are updating. The version is returned in the cache policy's
ETag
field in the response to GetCachePolicyConfig
.public String toString()
toString
in class Object
Object.toString()
public UpdateCachePolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()