Struct aws_sdk_lightsail::types::builders::QueryStringObjectBuilder
source · #[non_exhaustive]pub struct QueryStringObjectBuilder { /* private fields */ }
Expand description
A builder for QueryStringObject
.
Implementations§
source§impl QueryStringObjectBuilder
impl QueryStringObjectBuilder
sourcepub fn option(self, input: bool) -> Self
pub fn option(self, input: bool) -> Self
Indicates whether the distribution forwards and caches based on query strings.
sourcepub fn set_option(self, input: Option<bool>) -> Self
pub fn set_option(self, input: Option<bool>) -> Self
Indicates whether the distribution forwards and caches based on query strings.
sourcepub fn get_option(&self) -> &Option<bool>
pub fn get_option(&self) -> &Option<bool>
Indicates whether the distribution forwards and caches based on query strings.
sourcepub fn query_strings_allow_list(self, input: impl Into<String>) -> Self
pub fn query_strings_allow_list(self, input: impl Into<String>) -> Self
Appends an item to query_strings_allow_list
.
To override the contents of this collection use set_query_strings_allow_list
.
The specific query strings that the distribution forwards to the origin.
Your distribution will cache content based on the specified query strings.
If the option
parameter is true, then your distribution forwards all query strings, regardless of what you specify using the queryStringsAllowList
parameter.
sourcepub fn set_query_strings_allow_list(self, input: Option<Vec<String>>) -> Self
pub fn set_query_strings_allow_list(self, input: Option<Vec<String>>) -> Self
The specific query strings that the distribution forwards to the origin.
Your distribution will cache content based on the specified query strings.
If the option
parameter is true, then your distribution forwards all query strings, regardless of what you specify using the queryStringsAllowList
parameter.
sourcepub fn get_query_strings_allow_list(&self) -> &Option<Vec<String>>
pub fn get_query_strings_allow_list(&self) -> &Option<Vec<String>>
The specific query strings that the distribution forwards to the origin.
Your distribution will cache content based on the specified query strings.
If the option
parameter is true, then your distribution forwards all query strings, regardless of what you specify using the queryStringsAllowList
parameter.
sourcepub fn build(self) -> QueryStringObject
pub fn build(self) -> QueryStringObject
Consumes the builder and constructs a QueryStringObject
.
Trait Implementations§
source§impl Clone for QueryStringObjectBuilder
impl Clone for QueryStringObjectBuilder
source§fn clone(&self) -> QueryStringObjectBuilder
fn clone(&self) -> QueryStringObjectBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for QueryStringObjectBuilder
impl Debug for QueryStringObjectBuilder
source§impl Default for QueryStringObjectBuilder
impl Default for QueryStringObjectBuilder
source§fn default() -> QueryStringObjectBuilder
fn default() -> QueryStringObjectBuilder
source§impl PartialEq for QueryStringObjectBuilder
impl PartialEq for QueryStringObjectBuilder
source§fn eq(&self, other: &QueryStringObjectBuilder) -> bool
fn eq(&self, other: &QueryStringObjectBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for QueryStringObjectBuilder
Auto Trait Implementations§
impl Freeze for QueryStringObjectBuilder
impl RefUnwindSafe for QueryStringObjectBuilder
impl Send for QueryStringObjectBuilder
impl Sync for QueryStringObjectBuilder
impl Unpin for QueryStringObjectBuilder
impl UnwindSafe for QueryStringObjectBuilder
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
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>
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>
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 more