@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateResponseHeadersPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateResponseHeadersPolicyResult() |
Modifier and Type | Method and Description |
---|---|
UpdateResponseHeadersPolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getETag()
The current version of the response headers policy.
|
ResponseHeadersPolicy |
getResponseHeadersPolicy()
A response headers policy.
|
int |
hashCode() |
void |
setETag(String eTag)
The current version of the response headers policy.
|
void |
setResponseHeadersPolicy(ResponseHeadersPolicy responseHeadersPolicy)
A response headers policy.
|
String |
toString()
Returns a string representation of this object.
|
UpdateResponseHeadersPolicyResult |
withETag(String eTag)
The current version of the response headers policy.
|
UpdateResponseHeadersPolicyResult |
withResponseHeadersPolicy(ResponseHeadersPolicy responseHeadersPolicy)
A response headers policy.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setResponseHeadersPolicy(ResponseHeadersPolicy responseHeadersPolicy)
A response headers policy.
responseHeadersPolicy
- A response headers policy.public ResponseHeadersPolicy getResponseHeadersPolicy()
A response headers policy.
public UpdateResponseHeadersPolicyResult withResponseHeadersPolicy(ResponseHeadersPolicy responseHeadersPolicy)
A response headers policy.
responseHeadersPolicy
- A response headers policy.public void setETag(String eTag)
The current version of the response headers policy.
eTag
- The current version of the response headers policy.public String getETag()
The current version of the response headers policy.
public UpdateResponseHeadersPolicyResult withETag(String eTag)
The current version of the response headers policy.
eTag
- The current version of the response headers policy.public String toString()
toString
in class Object
Object.toString()
public UpdateResponseHeadersPolicyResult clone()