#[non_exhaustive]pub struct QueryArgProfileConfigBuilder { /* private fields */ }
Expand description
A builder for QueryArgProfileConfig
.
Implementations§
source§impl QueryArgProfileConfigBuilder
impl QueryArgProfileConfigBuilder
sourcepub fn forward_when_query_arg_profile_is_unknown(self, input: bool) -> Self
pub fn forward_when_query_arg_profile_is_unknown(self, input: bool) -> Self
Flag to set if you want a request to be forwarded to the origin even if the profile specified by the field-level encryption query argument, fle-profile, is unknown.
This field is required.sourcepub fn set_forward_when_query_arg_profile_is_unknown(
self,
input: Option<bool>
) -> Self
pub fn set_forward_when_query_arg_profile_is_unknown( self, input: Option<bool> ) -> Self
Flag to set if you want a request to be forwarded to the origin even if the profile specified by the field-level encryption query argument, fle-profile, is unknown.
sourcepub fn get_forward_when_query_arg_profile_is_unknown(&self) -> &Option<bool>
pub fn get_forward_when_query_arg_profile_is_unknown(&self) -> &Option<bool>
Flag to set if you want a request to be forwarded to the origin even if the profile specified by the field-level encryption query argument, fle-profile, is unknown.
sourcepub fn query_arg_profiles(self, input: QueryArgProfiles) -> Self
pub fn query_arg_profiles(self, input: QueryArgProfiles) -> Self
Profiles specified for query argument-profile mapping for field-level encryption.
sourcepub fn set_query_arg_profiles(self, input: Option<QueryArgProfiles>) -> Self
pub fn set_query_arg_profiles(self, input: Option<QueryArgProfiles>) -> Self
Profiles specified for query argument-profile mapping for field-level encryption.
sourcepub fn get_query_arg_profiles(&self) -> &Option<QueryArgProfiles>
pub fn get_query_arg_profiles(&self) -> &Option<QueryArgProfiles>
Profiles specified for query argument-profile mapping for field-level encryption.
sourcepub fn build(self) -> Result<QueryArgProfileConfig, BuildError>
pub fn build(self) -> Result<QueryArgProfileConfig, BuildError>
Consumes the builder and constructs a QueryArgProfileConfig
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for QueryArgProfileConfigBuilder
impl Clone for QueryArgProfileConfigBuilder
source§fn clone(&self) -> QueryArgProfileConfigBuilder
fn clone(&self) -> QueryArgProfileConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for QueryArgProfileConfigBuilder
impl Debug for QueryArgProfileConfigBuilder
source§impl Default for QueryArgProfileConfigBuilder
impl Default for QueryArgProfileConfigBuilder
source§fn default() -> QueryArgProfileConfigBuilder
fn default() -> QueryArgProfileConfigBuilder
source§impl PartialEq for QueryArgProfileConfigBuilder
impl PartialEq for QueryArgProfileConfigBuilder
source§fn eq(&self, other: &QueryArgProfileConfigBuilder) -> bool
fn eq(&self, other: &QueryArgProfileConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for QueryArgProfileConfigBuilder
Auto Trait Implementations§
impl Freeze for QueryArgProfileConfigBuilder
impl RefUnwindSafe for QueryArgProfileConfigBuilder
impl Send for QueryArgProfileConfigBuilder
impl Sync for QueryArgProfileConfigBuilder
impl Unpin for QueryArgProfileConfigBuilder
impl UnwindSafe for QueryArgProfileConfigBuilder
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