#[non_exhaustive]pub struct QueryStringCacheKeysBuilder { /* private fields */ }
Expand description
A builder for QueryStringCacheKeys
.
Implementations§
source§impl QueryStringCacheKeysBuilder
impl QueryStringCacheKeysBuilder
sourcepub fn quantity(self, input: i32) -> Self
pub fn quantity(self, input: i32) -> Self
The number of whitelisted
query string parameters for a cache behavior.
sourcepub fn set_quantity(self, input: Option<i32>) -> Self
pub fn set_quantity(self, input: Option<i32>) -> Self
The number of whitelisted
query string parameters for a cache behavior.
sourcepub fn items(self, input: impl Into<String>) -> Self
pub fn items(self, input: impl Into<String>) -> Self
Appends an item to items
.
To override the contents of this collection use set_items
.
A list that contains the query string parameters that you want CloudFront to use as a basis for caching for a cache behavior. If Quantity
is 0, you can omit Items
.
sourcepub fn set_items(self, input: Option<Vec<String>>) -> Self
pub fn set_items(self, input: Option<Vec<String>>) -> Self
A list that contains the query string parameters that you want CloudFront to use as a basis for caching for a cache behavior. If Quantity
is 0, you can omit Items
.
sourcepub fn build(self) -> QueryStringCacheKeys
pub fn build(self) -> QueryStringCacheKeys
Consumes the builder and constructs a QueryStringCacheKeys
.
Trait Implementations§
source§impl Clone for QueryStringCacheKeysBuilder
impl Clone for QueryStringCacheKeysBuilder
source§fn clone(&self) -> QueryStringCacheKeysBuilder
fn clone(&self) -> QueryStringCacheKeysBuilder
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 Debug for QueryStringCacheKeysBuilder
impl Debug for QueryStringCacheKeysBuilder
source§impl Default for QueryStringCacheKeysBuilder
impl Default for QueryStringCacheKeysBuilder
source§fn default() -> QueryStringCacheKeysBuilder
fn default() -> QueryStringCacheKeysBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<QueryStringCacheKeysBuilder> for QueryStringCacheKeysBuilder
impl PartialEq<QueryStringCacheKeysBuilder> for QueryStringCacheKeysBuilder
source§fn eq(&self, other: &QueryStringCacheKeysBuilder) -> bool
fn eq(&self, other: &QueryStringCacheKeysBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.