Struct aws_sdk_cloudfront::operation::create_response_headers_policy::builders::CreateResponseHeadersPolicyInputBuilder
source · #[non_exhaustive]pub struct CreateResponseHeadersPolicyInputBuilder { /* private fields */ }
Expand description
A builder for CreateResponseHeadersPolicyInput
.
Implementations§
source§impl CreateResponseHeadersPolicyInputBuilder
impl CreateResponseHeadersPolicyInputBuilder
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
.
Trait Implementations§
source§impl Clone for CreateResponseHeadersPolicyInputBuilder
impl Clone for CreateResponseHeadersPolicyInputBuilder
source§fn clone(&self) -> CreateResponseHeadersPolicyInputBuilder
fn clone(&self) -> CreateResponseHeadersPolicyInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for CreateResponseHeadersPolicyInputBuilder
impl Default for CreateResponseHeadersPolicyInputBuilder
source§fn default() -> CreateResponseHeadersPolicyInputBuilder
fn default() -> CreateResponseHeadersPolicyInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateResponseHeadersPolicyInputBuilder> for CreateResponseHeadersPolicyInputBuilder
impl PartialEq<CreateResponseHeadersPolicyInputBuilder> for CreateResponseHeadersPolicyInputBuilder
source§fn eq(&self, other: &CreateResponseHeadersPolicyInputBuilder) -> bool
fn eq(&self, other: &CreateResponseHeadersPolicyInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.