Struct aws_sdk_xray::output::get_sampling_targets_output::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for GetSamplingTargetsOutput
Implementations
sourceimpl Builder
impl Builder
sourcepub fn sampling_target_documents(self, input: SamplingTargetDocument) -> Self
pub fn sampling_target_documents(self, input: SamplingTargetDocument) -> Self
Appends an item to sampling_target_documents
.
To override the contents of this collection use set_sampling_target_documents
.
Updated rules that the service should use to sample requests.
sourcepub fn set_sampling_target_documents(
self,
input: Option<Vec<SamplingTargetDocument>>
) -> Self
pub fn set_sampling_target_documents(
self,
input: Option<Vec<SamplingTargetDocument>>
) -> Self
Updated rules that the service should use to sample requests.
sourcepub fn last_rule_modification(self, input: DateTime) -> Self
pub fn last_rule_modification(self, input: DateTime) -> Self
The last time a user changed the sampling rule configuration. If the sampling rule configuration changed since the service last retrieved it, the service should call GetSamplingRules to get the latest version.
sourcepub fn set_last_rule_modification(self, input: Option<DateTime>) -> Self
pub fn set_last_rule_modification(self, input: Option<DateTime>) -> Self
The last time a user changed the sampling rule configuration. If the sampling rule configuration changed since the service last retrieved it, the service should call GetSamplingRules to get the latest version.
sourcepub fn unprocessed_statistics(self, input: UnprocessedStatistics) -> Self
pub fn unprocessed_statistics(self, input: UnprocessedStatistics) -> Self
Appends an item to unprocessed_statistics
.
To override the contents of this collection use set_unprocessed_statistics
.
Information about SamplingStatisticsDocument that X-Ray could not process.
sourcepub fn set_unprocessed_statistics(
self,
input: Option<Vec<UnprocessedStatistics>>
) -> Self
pub fn set_unprocessed_statistics(
self,
input: Option<Vec<UnprocessedStatistics>>
) -> Self
Information about SamplingStatisticsDocument that X-Ray could not process.
sourcepub fn build(self) -> GetSamplingTargetsOutput
pub fn build(self) -> GetSamplingTargetsOutput
Consumes the builder and constructs a GetSamplingTargetsOutput
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more