Struct aws_sdk_internetmonitor::operation::get_query_results::builders::GetQueryResultsOutputBuilder
source · #[non_exhaustive]pub struct GetQueryResultsOutputBuilder { /* private fields */ }Expand description
A builder for GetQueryResultsOutput.
Implementations§
source§impl GetQueryResultsOutputBuilder
impl GetQueryResultsOutputBuilder
sourcepub fn fields(self, input: QueryField) -> Self
pub fn fields(self, input: QueryField) -> Self
Appends an item to fields.
To override the contents of this collection use set_fields.
The fields that the query returns data for. Fields are name-data type pairs, such as availability_score-float.
sourcepub fn set_fields(self, input: Option<Vec<QueryField>>) -> Self
pub fn set_fields(self, input: Option<Vec<QueryField>>) -> Self
The fields that the query returns data for. Fields are name-data type pairs, such as availability_score-float.
sourcepub fn get_fields(&self) -> &Option<Vec<QueryField>>
pub fn get_fields(&self) -> &Option<Vec<QueryField>>
The fields that the query returns data for. Fields are name-data type pairs, such as availability_score-float.
sourcepub fn data(self, input: Vec<String>) -> Self
pub fn data(self, input: Vec<String>) -> Self
Appends an item to data.
To override the contents of this collection use set_data.
The data results that the query returns. Data is returned in arrays, aligned with the Fields for the query, which creates a repository of Amazon CloudWatch Internet Monitor information for your application. Then, you can filter the information in the repository by using FilterParameters that you define.
sourcepub fn set_data(self, input: Option<Vec<Vec<String>>>) -> Self
pub fn set_data(self, input: Option<Vec<Vec<String>>>) -> Self
The data results that the query returns. Data is returned in arrays, aligned with the Fields for the query, which creates a repository of Amazon CloudWatch Internet Monitor information for your application. Then, you can filter the information in the repository by using FilterParameters that you define.
sourcepub fn get_data(&self) -> &Option<Vec<Vec<String>>>
pub fn get_data(&self) -> &Option<Vec<Vec<String>>>
The data results that the query returns. Data is returned in arrays, aligned with the Fields for the query, which creates a repository of Amazon CloudWatch Internet Monitor information for your application. Then, you can filter the information in the repository by using FilterParameters that you define.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of results. You receive this token from a previous call.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of results. You receive this token from a previous call.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of results. You receive this token from a previous call.
sourcepub fn build(self) -> Result<GetQueryResultsOutput, BuildError>
pub fn build(self) -> Result<GetQueryResultsOutput, BuildError>
Consumes the builder and constructs a GetQueryResultsOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetQueryResultsOutputBuilder
impl Clone for GetQueryResultsOutputBuilder
source§fn clone(&self) -> GetQueryResultsOutputBuilder
fn clone(&self) -> GetQueryResultsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetQueryResultsOutputBuilder
impl Debug for GetQueryResultsOutputBuilder
source§impl Default for GetQueryResultsOutputBuilder
impl Default for GetQueryResultsOutputBuilder
source§fn default() -> GetQueryResultsOutputBuilder
fn default() -> GetQueryResultsOutputBuilder
source§impl PartialEq for GetQueryResultsOutputBuilder
impl PartialEq for GetQueryResultsOutputBuilder
source§fn eq(&self, other: &GetQueryResultsOutputBuilder) -> bool
fn eq(&self, other: &GetQueryResultsOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetQueryResultsOutputBuilder
Auto Trait Implementations§
impl Freeze for GetQueryResultsOutputBuilder
impl RefUnwindSafe for GetQueryResultsOutputBuilder
impl Send for GetQueryResultsOutputBuilder
impl Sync for GetQueryResultsOutputBuilder
impl Unpin for GetQueryResultsOutputBuilder
impl UnwindSafe for GetQueryResultsOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more