@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateResponseHeadersPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateResponseHeadersPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateResponseHeadersPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getId()
The identifier for the response headers policy that you are updating.
|
String |
getIfMatch()
The version of the response headers policy that you are updating.
|
ResponseHeadersPolicyConfig |
getResponseHeadersPolicyConfig()
A response headers policy configuration.
|
int |
hashCode() |
void |
setId(String id)
The identifier for the response headers policy that you are updating.
|
void |
setIfMatch(String ifMatch)
The version of the response headers policy that you are updating.
|
void |
setResponseHeadersPolicyConfig(ResponseHeadersPolicyConfig responseHeadersPolicyConfig)
A response headers policy configuration.
|
String |
toString()
Returns a string representation of this object.
|
UpdateResponseHeadersPolicyRequest |
withId(String id)
The identifier for the response headers policy that you are updating.
|
UpdateResponseHeadersPolicyRequest |
withIfMatch(String ifMatch)
The version of the response headers policy that you are updating.
|
UpdateResponseHeadersPolicyRequest |
withResponseHeadersPolicyConfig(ResponseHeadersPolicyConfig responseHeadersPolicyConfig)
A response headers 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 setResponseHeadersPolicyConfig(ResponseHeadersPolicyConfig responseHeadersPolicyConfig)
A response headers policy configuration.
responseHeadersPolicyConfig
- A response headers policy configuration.public ResponseHeadersPolicyConfig getResponseHeadersPolicyConfig()
A response headers policy configuration.
public UpdateResponseHeadersPolicyRequest withResponseHeadersPolicyConfig(ResponseHeadersPolicyConfig responseHeadersPolicyConfig)
A response headers policy configuration.
responseHeadersPolicyConfig
- A response headers policy configuration.public void setId(String id)
The identifier for the response headers policy that you are updating.
id
- The identifier for the response headers policy that you are updating.public String getId()
The identifier for the response headers policy that you are updating.
public UpdateResponseHeadersPolicyRequest withId(String id)
The identifier for the response headers policy that you are updating.
id
- The identifier for the response headers policy that you are updating.public void setIfMatch(String ifMatch)
The version of the response headers policy that you are updating.
The version is returned in the cache policy's ETag
field in the response to
GetResponseHeadersPolicyConfig
.
ifMatch
- The version of the response headers policy that you are updating.
The version is returned in the cache policy's ETag
field in the response to
GetResponseHeadersPolicyConfig
.
public String getIfMatch()
The version of the response headers policy that you are updating.
The version is returned in the cache policy's ETag
field in the response to
GetResponseHeadersPolicyConfig
.
The version is returned in the cache policy's ETag
field in the response to
GetResponseHeadersPolicyConfig
.
public UpdateResponseHeadersPolicyRequest withIfMatch(String ifMatch)
The version of the response headers policy that you are updating.
The version is returned in the cache policy's ETag
field in the response to
GetResponseHeadersPolicyConfig
.
ifMatch
- The version of the response headers policy that you are updating.
The version is returned in the cache policy's ETag
field in the response to
GetResponseHeadersPolicyConfig
.
public String toString()
toString
in class Object
Object.toString()
public UpdateResponseHeadersPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()