Struct aws_sdk_xray::operation::get_trace_summaries::builders::GetTraceSummariesInputBuilder
source · #[non_exhaustive]pub struct GetTraceSummariesInputBuilder { /* private fields */ }
Expand description
A builder for GetTraceSummariesInput
.
Implementations§
source§impl GetTraceSummariesInputBuilder
impl GetTraceSummariesInputBuilder
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 get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
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 get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
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 get_time_range_type(&self) -> &Option<TimeRangeType>
pub fn get_time_range_type(&self) -> &Option<TimeRangeType>
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 get_sampling(&self) -> &Option<bool>
pub fn get_sampling(&self) -> &Option<bool>
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 get_sampling_strategy(&self) -> &Option<SamplingStrategy>
pub fn get_sampling_strategy(&self) -> &Option<SamplingStrategy>
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 get_filter_expression(&self) -> &Option<String>
pub fn get_filter_expression(&self) -> &Option<String>
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 get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
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
.
source§impl GetTraceSummariesInputBuilder
impl GetTraceSummariesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetTraceSummariesOutput, SdkError<GetTraceSummariesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetTraceSummariesOutput, SdkError<GetTraceSummariesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetTraceSummariesInputBuilder
impl Clone for GetTraceSummariesInputBuilder
source§fn clone(&self) -> GetTraceSummariesInputBuilder
fn clone(&self) -> GetTraceSummariesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetTraceSummariesInputBuilder
impl Default for GetTraceSummariesInputBuilder
source§fn default() -> GetTraceSummariesInputBuilder
fn default() -> GetTraceSummariesInputBuilder
source§impl PartialEq<GetTraceSummariesInputBuilder> for GetTraceSummariesInputBuilder
impl PartialEq<GetTraceSummariesInputBuilder> for GetTraceSummariesInputBuilder
source§fn eq(&self, other: &GetTraceSummariesInputBuilder) -> bool
fn eq(&self, other: &GetTraceSummariesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.