Struct aws_sdk_cloudfront::operation::create_response_headers_policy::builders::CreateResponseHeadersPolicyOutputBuilder
source · #[non_exhaustive]pub struct CreateResponseHeadersPolicyOutputBuilder { /* private fields */ }
Expand description
A builder for CreateResponseHeadersPolicyOutput
.
Implementations§
source§impl CreateResponseHeadersPolicyOutputBuilder
impl CreateResponseHeadersPolicyOutputBuilder
sourcepub fn response_headers_policy(self, input: ResponseHeadersPolicy) -> Self
pub fn response_headers_policy(self, input: ResponseHeadersPolicy) -> Self
Contains a response headers policy.
sourcepub fn set_response_headers_policy(
self,
input: Option<ResponseHeadersPolicy>
) -> Self
pub fn set_response_headers_policy( self, input: Option<ResponseHeadersPolicy> ) -> Self
Contains a response headers policy.
sourcepub fn location(self, input: impl Into<String>) -> Self
pub fn location(self, input: impl Into<String>) -> Self
The URL of the response headers policy.
sourcepub fn set_location(self, input: Option<String>) -> Self
pub fn set_location(self, input: Option<String>) -> Self
The URL of the response headers policy.
sourcepub fn e_tag(self, input: impl Into<String>) -> Self
pub fn e_tag(self, input: impl Into<String>) -> Self
The version identifier for the current version of the response headers policy.
sourcepub fn set_e_tag(self, input: Option<String>) -> Self
pub fn set_e_tag(self, input: Option<String>) -> Self
The version identifier for the current version of the response headers policy.
sourcepub fn build(self) -> CreateResponseHeadersPolicyOutput
pub fn build(self) -> CreateResponseHeadersPolicyOutput
Consumes the builder and constructs a CreateResponseHeadersPolicyOutput
.
Trait Implementations§
source§impl Clone for CreateResponseHeadersPolicyOutputBuilder
impl Clone for CreateResponseHeadersPolicyOutputBuilder
source§fn clone(&self) -> CreateResponseHeadersPolicyOutputBuilder
fn clone(&self) -> CreateResponseHeadersPolicyOutputBuilder
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 CreateResponseHeadersPolicyOutputBuilder
impl Default for CreateResponseHeadersPolicyOutputBuilder
source§fn default() -> CreateResponseHeadersPolicyOutputBuilder
fn default() -> CreateResponseHeadersPolicyOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateResponseHeadersPolicyOutputBuilder> for CreateResponseHeadersPolicyOutputBuilder
impl PartialEq<CreateResponseHeadersPolicyOutputBuilder> for CreateResponseHeadersPolicyOutputBuilder
source§fn eq(&self, other: &CreateResponseHeadersPolicyOutputBuilder) -> bool
fn eq(&self, other: &CreateResponseHeadersPolicyOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.