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 get_response_headers_policy(&self) -> &Option<ResponseHeadersPolicy>
pub fn get_response_headers_policy(&self) -> &Option<ResponseHeadersPolicy>
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 get_location(&self) -> &Option<String>
pub fn get_location(&self) -> &Option<String>
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 get_e_tag(&self) -> &Option<String>
pub fn get_e_tag(&self) -> &Option<String>
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 for CreateResponseHeadersPolicyOutputBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for CreateResponseHeadersPolicyOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateResponseHeadersPolicyOutputBuilder
impl RefUnwindSafe for CreateResponseHeadersPolicyOutputBuilder
impl Send for CreateResponseHeadersPolicyOutputBuilder
impl Sync for CreateResponseHeadersPolicyOutputBuilder
impl Unpin for CreateResponseHeadersPolicyOutputBuilder
impl UnwindSafe for CreateResponseHeadersPolicyOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.