@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteCachePolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteCachePolicyRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteCachePolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getId()
The unique identifier for the cache policy that you are deleting.
|
String |
getIfMatch()
The version of the cache policy that you are deleting.
|
int |
hashCode() |
void |
setId(String id)
The unique identifier for the cache policy that you are deleting.
|
void |
setIfMatch(String ifMatch)
The version of the cache policy that you are deleting.
|
String |
toString()
Returns a string representation of this object.
|
DeleteCachePolicyRequest |
withId(String id)
The unique identifier for the cache policy that you are deleting.
|
DeleteCachePolicyRequest |
withIfMatch(String ifMatch)
The version of the cache policy that you are deleting.
|
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 setId(String id)
The unique identifier for the cache policy that you are deleting. To get the identifier, you can use
ListCachePolicies
.
id
- The unique identifier for the cache policy that you are deleting. To get the identifier, you can use
ListCachePolicies
.public String getId()
The unique identifier for the cache policy that you are deleting. To get the identifier, you can use
ListCachePolicies
.
ListCachePolicies
.public DeleteCachePolicyRequest withId(String id)
The unique identifier for the cache policy that you are deleting. To get the identifier, you can use
ListCachePolicies
.
id
- The unique identifier for the cache policy that you are deleting. To get the identifier, you can use
ListCachePolicies
.public void setIfMatch(String ifMatch)
The version of the cache policy that you are deleting. The version is the cache policy's ETag
value,
which you can get using ListCachePolicies
, GetCachePolicy
, or
GetCachePolicyConfig
.
ifMatch
- The version of the cache policy that you are deleting. The version is the cache policy's ETag
value, which you can get using ListCachePolicies
, GetCachePolicy
, or
GetCachePolicyConfig
.public String getIfMatch()
The version of the cache policy that you are deleting. The version is the cache policy's ETag
value,
which you can get using ListCachePolicies
, GetCachePolicy
, or
GetCachePolicyConfig
.
ETag
value, which you can get using ListCachePolicies
,
GetCachePolicy
, or GetCachePolicyConfig
.public DeleteCachePolicyRequest withIfMatch(String ifMatch)
The version of the cache policy that you are deleting. The version is the cache policy's ETag
value,
which you can get using ListCachePolicies
, GetCachePolicy
, or
GetCachePolicyConfig
.
ifMatch
- The version of the cache policy that you are deleting. The version is the cache policy's ETag
value, which you can get using ListCachePolicies
, GetCachePolicy
, or
GetCachePolicyConfig
.public String toString()
toString
in class Object
Object.toString()
public DeleteCachePolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()