Struct aws_sdk_cloudfront::operation::get_origin_request_policy_config::builders::GetOriginRequestPolicyConfigOutputBuilder
source · #[non_exhaustive]pub struct GetOriginRequestPolicyConfigOutputBuilder { /* private fields */ }
Expand description
A builder for GetOriginRequestPolicyConfigOutput
.
Implementations§
source§impl GetOriginRequestPolicyConfigOutputBuilder
impl GetOriginRequestPolicyConfigOutputBuilder
sourcepub fn origin_request_policy_config(
self,
input: OriginRequestPolicyConfig
) -> Self
pub fn origin_request_policy_config( self, input: OriginRequestPolicyConfig ) -> Self
The origin request policy configuration.
sourcepub fn set_origin_request_policy_config(
self,
input: Option<OriginRequestPolicyConfig>
) -> Self
pub fn set_origin_request_policy_config( self, input: Option<OriginRequestPolicyConfig> ) -> Self
The origin request policy configuration.
sourcepub fn get_origin_request_policy_config(
&self
) -> &Option<OriginRequestPolicyConfig>
pub fn get_origin_request_policy_config( &self ) -> &Option<OriginRequestPolicyConfig>
The origin request policy configuration.
sourcepub fn e_tag(self, input: impl Into<String>) -> Self
pub fn e_tag(self, input: impl Into<String>) -> Self
The current version of the origin request policy.
sourcepub fn set_e_tag(self, input: Option<String>) -> Self
pub fn set_e_tag(self, input: Option<String>) -> Self
The current version of the origin request policy.
sourcepub fn build(self) -> GetOriginRequestPolicyConfigOutput
pub fn build(self) -> GetOriginRequestPolicyConfigOutput
Consumes the builder and constructs a GetOriginRequestPolicyConfigOutput
.
Trait Implementations§
source§impl Clone for GetOriginRequestPolicyConfigOutputBuilder
impl Clone for GetOriginRequestPolicyConfigOutputBuilder
source§fn clone(&self) -> GetOriginRequestPolicyConfigOutputBuilder
fn clone(&self) -> GetOriginRequestPolicyConfigOutputBuilder
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 GetOriginRequestPolicyConfigOutputBuilder
impl Default for GetOriginRequestPolicyConfigOutputBuilder
source§fn default() -> GetOriginRequestPolicyConfigOutputBuilder
fn default() -> GetOriginRequestPolicyConfigOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetOriginRequestPolicyConfigOutputBuilder
impl PartialEq for GetOriginRequestPolicyConfigOutputBuilder
source§fn eq(&self, other: &GetOriginRequestPolicyConfigOutputBuilder) -> bool
fn eq(&self, other: &GetOriginRequestPolicyConfigOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetOriginRequestPolicyConfigOutputBuilder
Auto Trait Implementations§
impl Freeze for GetOriginRequestPolicyConfigOutputBuilder
impl RefUnwindSafe for GetOriginRequestPolicyConfigOutputBuilder
impl Send for GetOriginRequestPolicyConfigOutputBuilder
impl Sync for GetOriginRequestPolicyConfigOutputBuilder
impl Unpin for GetOriginRequestPolicyConfigOutputBuilder
impl UnwindSafe for GetOriginRequestPolicyConfigOutputBuilder
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.