Struct aws_sdk_xray::input::get_trace_summaries_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetTraceSummariesInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The start of the time frame for which to retrieve traces.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The start of the time frame for which to retrieve traces.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The end of the time frame for which to retrieve traces.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The end of the time frame for which to retrieve traces.
sourcepub fn time_range_type(self, input: TimeRangeType) -> Self
pub fn time_range_type(self, input: TimeRangeType) -> Self
A parameter to indicate whether to query trace summaries by TraceId or Event time.
sourcepub fn set_time_range_type(self, input: Option<TimeRangeType>) -> Self
pub fn set_time_range_type(self, input: Option<TimeRangeType>) -> Self
A parameter to indicate whether to query trace summaries by TraceId or Event time.
sourcepub fn sampling(self, input: bool) -> Self
pub fn sampling(self, input: bool) -> Self
Set to true
to get summaries for only a subset of available traces.
sourcepub fn set_sampling(self, input: Option<bool>) -> Self
pub fn set_sampling(self, input: Option<bool>) -> Self
Set to true
to get summaries for only a subset of available traces.
sourcepub fn sampling_strategy(self, input: SamplingStrategy) -> Self
pub fn sampling_strategy(self, input: SamplingStrategy) -> Self
A parameter to indicate whether to enable sampling on trace summaries. Input parameters are Name and Value.
sourcepub fn set_sampling_strategy(self, input: Option<SamplingStrategy>) -> Self
pub fn set_sampling_strategy(self, input: Option<SamplingStrategy>) -> Self
A parameter to indicate whether to enable sampling on trace summaries. Input parameters are Name and Value.
sourcepub fn filter_expression(self, input: impl Into<String>) -> Self
pub fn filter_expression(self, input: impl Into<String>) -> Self
Specify a filter expression to retrieve trace summaries for services or requests that meet certain requirements.
sourcepub fn set_filter_expression(self, input: Option<String>) -> Self
pub fn set_filter_expression(self, input: Option<String>) -> Self
Specify a filter expression to retrieve trace summaries for services or requests that meet certain requirements.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Specify the pagination token returned by a previous request to retrieve the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Specify the pagination token returned by a previous request to retrieve the next page of results.
sourcepub fn build(self) -> Result<GetTraceSummariesInput, BuildError>
pub fn build(self) -> Result<GetTraceSummariesInput, BuildError>
Consumes the builder and constructs a GetTraceSummariesInput
.