Struct aws_sdk_cloudfront::operation::get_response_headers_policy::builders::GetResponseHeadersPolicyOutputBuilder
source · #[non_exhaustive]pub struct GetResponseHeadersPolicyOutputBuilder { /* private fields */ }
Expand description
A builder for GetResponseHeadersPolicyOutput
.
Implementations§
source§impl GetResponseHeadersPolicyOutputBuilder
impl GetResponseHeadersPolicyOutputBuilder
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 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) -> GetResponseHeadersPolicyOutput
pub fn build(self) -> GetResponseHeadersPolicyOutput
Consumes the builder and constructs a GetResponseHeadersPolicyOutput
.
Trait Implementations§
source§impl Clone for GetResponseHeadersPolicyOutputBuilder
impl Clone for GetResponseHeadersPolicyOutputBuilder
source§fn clone(&self) -> GetResponseHeadersPolicyOutputBuilder
fn clone(&self) -> GetResponseHeadersPolicyOutputBuilder
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 GetResponseHeadersPolicyOutputBuilder
impl Default for GetResponseHeadersPolicyOutputBuilder
source§fn default() -> GetResponseHeadersPolicyOutputBuilder
fn default() -> GetResponseHeadersPolicyOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetResponseHeadersPolicyOutputBuilder
impl PartialEq for GetResponseHeadersPolicyOutputBuilder
source§fn eq(&self, other: &GetResponseHeadersPolicyOutputBuilder) -> bool
fn eq(&self, other: &GetResponseHeadersPolicyOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetResponseHeadersPolicyOutputBuilder
Auto Trait Implementations§
impl Freeze for GetResponseHeadersPolicyOutputBuilder
impl RefUnwindSafe for GetResponseHeadersPolicyOutputBuilder
impl Send for GetResponseHeadersPolicyOutputBuilder
impl Sync for GetResponseHeadersPolicyOutputBuilder
impl Unpin for GetResponseHeadersPolicyOutputBuilder
impl UnwindSafe for GetResponseHeadersPolicyOutputBuilder
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.