@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateOriginRequestPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateOriginRequestPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateOriginRequestPolicyRequest |
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 updating.
|
String |
getIfMatch()
The version of the origin request policy that you are updating.
|
OriginRequestPolicyConfig |
getOriginRequestPolicyConfig()
An origin request policy configuration.
|
int |
hashCode() |
void |
setId(String id)
The unique identifier for the origin request policy that you are updating.
|
void |
setIfMatch(String ifMatch)
The version of the origin request policy that you are updating.
|
void |
setOriginRequestPolicyConfig(OriginRequestPolicyConfig originRequestPolicyConfig)
An origin request policy configuration.
|
String |
toString()
Returns a string representation of this object.
|
UpdateOriginRequestPolicyRequest |
withId(String id)
The unique identifier for the origin request policy that you are updating.
|
UpdateOriginRequestPolicyRequest |
withIfMatch(String ifMatch)
The version of the origin request policy that you are updating.
|
UpdateOriginRequestPolicyRequest |
withOriginRequestPolicyConfig(OriginRequestPolicyConfig originRequestPolicyConfig)
An origin request policy configuration.
|
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 setOriginRequestPolicyConfig(OriginRequestPolicyConfig originRequestPolicyConfig)
An origin request policy configuration.
originRequestPolicyConfig
- An origin request policy configuration.public OriginRequestPolicyConfig getOriginRequestPolicyConfig()
An origin request policy configuration.
public UpdateOriginRequestPolicyRequest withOriginRequestPolicyConfig(OriginRequestPolicyConfig originRequestPolicyConfig)
An origin request policy configuration.
originRequestPolicyConfig
- An origin request policy configuration.public void setId(String id)
The unique identifier for the origin request policy that you are updating. The identifier is returned in a cache
behavior's OriginRequestPolicyId
field in the response to GetDistributionConfig
.
id
- The unique identifier for the origin request policy that you are updating. The identifier is returned in a
cache behavior's OriginRequestPolicyId
field in the response to
GetDistributionConfig
.public String getId()
The unique identifier for the origin request policy that you are updating. The identifier is returned in a cache
behavior's OriginRequestPolicyId
field in the response to GetDistributionConfig
.
OriginRequestPolicyId
field in the response to
GetDistributionConfig
.public UpdateOriginRequestPolicyRequest withId(String id)
The unique identifier for the origin request policy that you are updating. The identifier is returned in a cache
behavior's OriginRequestPolicyId
field in the response to GetDistributionConfig
.
id
- The unique identifier for the origin request policy that you are updating. The identifier is returned in a
cache behavior's OriginRequestPolicyId
field in the response to
GetDistributionConfig
.public void setIfMatch(String ifMatch)
The version of the origin request policy that you are updating. The version is returned in the origin request
policy's ETag
field in the response to GetOriginRequestPolicyConfig
.
ifMatch
- The version of the origin request policy that you are updating. The version is returned in the origin
request policy's ETag
field in the response to GetOriginRequestPolicyConfig
.public String getIfMatch()
The version of the origin request policy that you are updating. The version is returned in the origin request
policy's ETag
field in the response to GetOriginRequestPolicyConfig
.
ETag
field in the response to GetOriginRequestPolicyConfig
.public UpdateOriginRequestPolicyRequest withIfMatch(String ifMatch)
The version of the origin request policy that you are updating. The version is returned in the origin request
policy's ETag
field in the response to GetOriginRequestPolicyConfig
.
ifMatch
- The version of the origin request policy that you are updating. The version is returned in the origin
request policy's ETag
field in the response to GetOriginRequestPolicyConfig
.public String toString()
toString
in class Object
Object.toString()
public UpdateOriginRequestPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()