Struct aws_sdk_xray::input::batch_get_traces_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for BatchGetTracesInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn trace_ids(self, input: impl Into<String>) -> Self
pub fn trace_ids(self, input: impl Into<String>) -> Self
Appends an item to trace_ids
.
To override the contents of this collection use set_trace_ids
.
Specify the trace IDs of requests for which to retrieve segments.
sourcepub fn set_trace_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_trace_ids(self, input: Option<Vec<String>>) -> Self
Specify the trace IDs of requests for which to retrieve segments.
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 build(self) -> Result<BatchGetTracesInput, BuildError>
pub fn build(self) -> Result<BatchGetTracesInput, BuildError>
Consumes the builder and constructs a BatchGetTracesInput
.