pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateResponseHeadersPolicyInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn response_headers_policy_config(
self,
input: ResponseHeadersPolicyConfig
) -> Self
pub fn response_headers_policy_config(
self,
input: ResponseHeadersPolicyConfig
) -> Self
A response headers policy configuration.
sourcepub fn set_response_headers_policy_config(
self,
input: Option<ResponseHeadersPolicyConfig>
) -> Self
pub fn set_response_headers_policy_config(
self,
input: Option<ResponseHeadersPolicyConfig>
) -> Self
A response headers policy configuration.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier for the response headers policy that you are updating.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier for the response headers policy that you are updating.
sourcepub fn if_match(self, input: impl Into<String>) -> Self
pub fn if_match(self, input: impl Into<String>) -> Self
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
.
sourcepub fn set_if_match(self, input: Option<String>) -> Self
pub fn set_if_match(self, input: Option<String>) -> Self
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
.
sourcepub fn build(self) -> Result<UpdateResponseHeadersPolicyInput, BuildError>
pub fn build(self) -> Result<UpdateResponseHeadersPolicyInput, BuildError>
Consumes the builder and constructs a UpdateResponseHeadersPolicyInput
.