Struct aws_sdk_rum::input::get_app_monitor_data_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetAppMonitorDataInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the app monitor that collected the data that you want to retrieve.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the app monitor that collected the data that you want to retrieve.
sourcepub fn time_range(self, input: TimeRange) -> Self
pub fn time_range(self, input: TimeRange) -> Self
A structure that defines the time range that you want to retrieve results from.
sourcepub fn set_time_range(self, input: Option<TimeRange>) -> Self
pub fn set_time_range(self, input: Option<TimeRange>) -> Self
A structure that defines the time range that you want to retrieve results from.
sourcepub fn filters(self, input: QueryFilter) -> Self
pub fn filters(self, input: QueryFilter) -> Self
Appends an item to filters
.
To override the contents of this collection use set_filters
.
An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify.
sourcepub fn set_filters(self, input: Option<Vec<QueryFilter>>) -> Self
pub fn set_filters(self, input: Option<Vec<QueryFilter>>) -> Self
An array of structures that you can use to filter the results to those that match one or more sets of key-value pairs that you specify.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return in one operation.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return in one operation.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Use the token returned by the previous operation to request 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
Use the token returned by the previous operation to request the next page of results.
sourcepub fn build(self) -> Result<GetAppMonitorDataInput, BuildError>
pub fn build(self) -> Result<GetAppMonitorDataInput, BuildError>
Consumes the builder and constructs a GetAppMonitorDataInput
.