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