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