Struct aws_sdk_xray::operation::get_sampling_targets::builders::GetSamplingTargetsOutputBuilder
source · #[non_exhaustive]pub struct GetSamplingTargetsOutputBuilder { /* private fields */ }
Expand description
A builder for GetSamplingTargetsOutput
.
Implementations§
source§impl GetSamplingTargetsOutputBuilder
impl GetSamplingTargetsOutputBuilder
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 get_sampling_target_documents(
&self
) -> &Option<Vec<SamplingTargetDocument>>
pub fn get_sampling_target_documents( &self ) -> &Option<Vec<SamplingTargetDocument>>
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 get_last_rule_modification(&self) -> &Option<DateTime>
pub fn get_last_rule_modification(&self) -> &Option<DateTime>
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 get_unprocessed_statistics(&self) -> &Option<Vec<UnprocessedStatistics>>
pub fn get_unprocessed_statistics(&self) -> &Option<Vec<UnprocessedStatistics>>
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§
source§impl Clone for GetSamplingTargetsOutputBuilder
impl Clone for GetSamplingTargetsOutputBuilder
source§fn clone(&self) -> GetSamplingTargetsOutputBuilder
fn clone(&self) -> GetSamplingTargetsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetSamplingTargetsOutputBuilder
impl Default for GetSamplingTargetsOutputBuilder
source§fn default() -> GetSamplingTargetsOutputBuilder
fn default() -> GetSamplingTargetsOutputBuilder
source§impl PartialEq<GetSamplingTargetsOutputBuilder> for GetSamplingTargetsOutputBuilder
impl PartialEq<GetSamplingTargetsOutputBuilder> for GetSamplingTargetsOutputBuilder
source§fn eq(&self, other: &GetSamplingTargetsOutputBuilder) -> bool
fn eq(&self, other: &GetSamplingTargetsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.