#[non_exhaustive]pub struct GetSamplingRulesOutputBuilder { /* private fields */ }
Expand description
A builder for GetSamplingRulesOutput
.
Implementations§
source§impl GetSamplingRulesOutputBuilder
impl GetSamplingRulesOutputBuilder
sourcepub fn sampling_rule_records(self, input: SamplingRuleRecord) -> Self
pub fn sampling_rule_records(self, input: SamplingRuleRecord) -> Self
Appends an item to sampling_rule_records
.
To override the contents of this collection use set_sampling_rule_records
.
Rule definitions and metadata.
sourcepub fn set_sampling_rule_records(
self,
input: Option<Vec<SamplingRuleRecord>>,
) -> Self
pub fn set_sampling_rule_records( self, input: Option<Vec<SamplingRuleRecord>>, ) -> Self
Rule definitions and metadata.
sourcepub fn get_sampling_rule_records(&self) -> &Option<Vec<SamplingRuleRecord>>
pub fn get_sampling_rule_records(&self) -> &Option<Vec<SamplingRuleRecord>>
Rule definitions and metadata.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Pagination token.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Pagination token.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Pagination token.
sourcepub fn build(self) -> GetSamplingRulesOutput
pub fn build(self) -> GetSamplingRulesOutput
Consumes the builder and constructs a GetSamplingRulesOutput
.
Trait Implementations§
source§impl Clone for GetSamplingRulesOutputBuilder
impl Clone for GetSamplingRulesOutputBuilder
source§fn clone(&self) -> GetSamplingRulesOutputBuilder
fn clone(&self) -> GetSamplingRulesOutputBuilder
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 GetSamplingRulesOutputBuilder
impl Default for GetSamplingRulesOutputBuilder
source§fn default() -> GetSamplingRulesOutputBuilder
fn default() -> GetSamplingRulesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetSamplingRulesOutputBuilder
impl PartialEq for GetSamplingRulesOutputBuilder
source§fn eq(&self, other: &GetSamplingRulesOutputBuilder) -> bool
fn eq(&self, other: &GetSamplingRulesOutputBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetSamplingRulesOutputBuilder
Auto Trait Implementations§
impl Freeze for GetSamplingRulesOutputBuilder
impl RefUnwindSafe for GetSamplingRulesOutputBuilder
impl Send for GetSamplingRulesOutputBuilder
impl Sync for GetSamplingRulesOutputBuilder
impl Unpin for GetSamplingRulesOutputBuilder
impl UnwindSafe for GetSamplingRulesOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.