#[non_exhaustive]pub struct OriginRequestPolicyQueryStringsConfigBuilder { /* private fields */ }
Expand description
A builder for OriginRequestPolicyQueryStringsConfig
.
Implementations§
source§impl OriginRequestPolicyQueryStringsConfigBuilder
impl OriginRequestPolicyQueryStringsConfigBuilder
sourcepub fn query_string_behavior(
self,
input: OriginRequestPolicyQueryStringBehavior
) -> Self
pub fn query_string_behavior( self, input: OriginRequestPolicyQueryStringBehavior ) -> Self
Determines whether any URL query strings in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:
-
none
– Query strings in viewer requests are not included in requests that CloudFront sends to the origin. Even when this field is set tonone
, any query strings that are listed in aCachePolicy
are included in origin requests. -
whitelist
– The query strings in viewer requests that are listed in theQueryStringNames
type are included in requests that CloudFront sends to the origin. -
all
– All query strings in viewer requests are included in requests that CloudFront sends to the origin.
sourcepub fn set_query_string_behavior(
self,
input: Option<OriginRequestPolicyQueryStringBehavior>
) -> Self
pub fn set_query_string_behavior( self, input: Option<OriginRequestPolicyQueryStringBehavior> ) -> Self
Determines whether any URL query strings in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:
-
none
– Query strings in viewer requests are not included in requests that CloudFront sends to the origin. Even when this field is set tonone
, any query strings that are listed in aCachePolicy
are included in origin requests. -
whitelist
– The query strings in viewer requests that are listed in theQueryStringNames
type are included in requests that CloudFront sends to the origin. -
all
– All query strings in viewer requests are included in requests that CloudFront sends to the origin.
sourcepub fn query_strings(self, input: QueryStringNames) -> Self
pub fn query_strings(self, input: QueryStringNames) -> Self
Contains a list of the query strings in viewer requests that are included in requests that CloudFront sends to the origin.
sourcepub fn set_query_strings(self, input: Option<QueryStringNames>) -> Self
pub fn set_query_strings(self, input: Option<QueryStringNames>) -> Self
Contains a list of the query strings in viewer requests that are included in requests that CloudFront sends to the origin.
sourcepub fn build(self) -> OriginRequestPolicyQueryStringsConfig
pub fn build(self) -> OriginRequestPolicyQueryStringsConfig
Consumes the builder and constructs a OriginRequestPolicyQueryStringsConfig
.
Trait Implementations§
source§impl Clone for OriginRequestPolicyQueryStringsConfigBuilder
impl Clone for OriginRequestPolicyQueryStringsConfigBuilder
source§fn clone(&self) -> OriginRequestPolicyQueryStringsConfigBuilder
fn clone(&self) -> OriginRequestPolicyQueryStringsConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for OriginRequestPolicyQueryStringsConfigBuilder
impl Default for OriginRequestPolicyQueryStringsConfigBuilder
source§fn default() -> OriginRequestPolicyQueryStringsConfigBuilder
fn default() -> OriginRequestPolicyQueryStringsConfigBuilder
source§impl PartialEq<OriginRequestPolicyQueryStringsConfigBuilder> for OriginRequestPolicyQueryStringsConfigBuilder
impl PartialEq<OriginRequestPolicyQueryStringsConfigBuilder> for OriginRequestPolicyQueryStringsConfigBuilder
source§fn eq(&self, other: &OriginRequestPolicyQueryStringsConfigBuilder) -> bool
fn eq(&self, other: &OriginRequestPolicyQueryStringsConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.