@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCachePolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetCachePolicyRequest() |
Modifier and Type | Method and Description |
---|---|
GetCachePolicyRequest |
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.
|
int |
hashCode() |
void |
setId(String id)
The unique identifier for the cache policy.
|
String |
toString()
Returns a string representation of this object.
|
GetCachePolicyRequest |
withId(String id)
The unique identifier for the cache policy.
|
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. If the cache policy is attached to a distribution's cache behavior,
you can get the policy's identifier using ListDistributions
or GetDistribution
. If the
cache policy is not attached to a cache behavior, you can get the identifier using ListCachePolicies
.
id
- The unique identifier for the cache policy. If the cache policy is attached to a distribution's cache
behavior, you can get the policy's identifier using ListDistributions
or
GetDistribution
. If the cache policy is not attached to a cache behavior, you can get the
identifier using ListCachePolicies
.public String getId()
The unique identifier for the cache policy. If the cache policy is attached to a distribution's cache behavior,
you can get the policy's identifier using ListDistributions
or GetDistribution
. If the
cache policy is not attached to a cache behavior, you can get the identifier using ListCachePolicies
.
ListDistributions
or
GetDistribution
. If the cache policy is not attached to a cache behavior, you can get the
identifier using ListCachePolicies
.public GetCachePolicyRequest withId(String id)
The unique identifier for the cache policy. If the cache policy is attached to a distribution's cache behavior,
you can get the policy's identifier using ListDistributions
or GetDistribution
. If the
cache policy is not attached to a cache behavior, you can get the identifier using ListCachePolicies
.
id
- The unique identifier for the cache policy. If the cache policy is attached to a distribution's cache
behavior, you can get the policy's identifier using ListDistributions
or
GetDistribution
. If the cache policy is not attached to a cache behavior, you can get the
identifier using ListCachePolicies
.public String toString()
toString
in class Object
Object.toString()
public GetCachePolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()