pub struct Builder { /* private fields */ }
Expand description
A builder for CreateResponseHeadersPolicyInput
.
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
Contains metadata about the response headers policy, and a set of configurations that specify the HTTP headers.
sourcepub fn set_response_headers_policy_config(
self,
input: Option<ResponseHeadersPolicyConfig>
) -> Self
pub fn set_response_headers_policy_config(
self,
input: Option<ResponseHeadersPolicyConfig>
) -> Self
Contains metadata about the response headers policy, and a set of configurations that specify the HTTP headers.
sourcepub fn build(self) -> Result<CreateResponseHeadersPolicyInput, BuildError>
pub fn build(self) -> Result<CreateResponseHeadersPolicyInput, BuildError>
Consumes the builder and constructs a CreateResponseHeadersPolicyInput
.