#[non_exhaustive]pub struct ListMetricValuesInputBuilder { /* private fields */ }Expand description
A builder for ListMetricValuesInput.
Implementations§
source§impl ListMetricValuesInputBuilder
impl ListMetricValuesInputBuilder
sourcepub fn thing_name(self, input: impl Into<String>) -> Self
pub fn thing_name(self, input: impl Into<String>) -> Self
The name of the thing for which security profile metric values are returned.
This field is required.sourcepub fn set_thing_name(self, input: Option<String>) -> Self
pub fn set_thing_name(self, input: Option<String>) -> Self
The name of the thing for which security profile metric values are returned.
sourcepub fn get_thing_name(&self) -> &Option<String>
pub fn get_thing_name(&self) -> &Option<String>
The name of the thing for which security profile metric values are returned.
sourcepub fn metric_name(self, input: impl Into<String>) -> Self
pub fn metric_name(self, input: impl Into<String>) -> Self
The name of the security profile metric for which values are returned.
This field is required.sourcepub fn set_metric_name(self, input: Option<String>) -> Self
pub fn set_metric_name(self, input: Option<String>) -> Self
The name of the security profile metric for which values are returned.
sourcepub fn get_metric_name(&self) -> &Option<String>
pub fn get_metric_name(&self) -> &Option<String>
The name of the security profile metric for which values are returned.
sourcepub fn dimension_name(self, input: impl Into<String>) -> Self
pub fn dimension_name(self, input: impl Into<String>) -> Self
The dimension name.
sourcepub fn set_dimension_name(self, input: Option<String>) -> Self
pub fn set_dimension_name(self, input: Option<String>) -> Self
The dimension name.
sourcepub fn get_dimension_name(&self) -> &Option<String>
pub fn get_dimension_name(&self) -> &Option<String>
The dimension name.
sourcepub fn dimension_value_operator(self, input: DimensionValueOperator) -> Self
pub fn dimension_value_operator(self, input: DimensionValueOperator) -> Self
The dimension value operator.
sourcepub fn set_dimension_value_operator(
self,
input: Option<DimensionValueOperator>,
) -> Self
pub fn set_dimension_value_operator( self, input: Option<DimensionValueOperator>, ) -> Self
The dimension value operator.
sourcepub fn get_dimension_value_operator(&self) -> &Option<DimensionValueOperator>
pub fn get_dimension_value_operator(&self) -> &Option<DimensionValueOperator>
The dimension value operator.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The start of the time period for which metric values are returned.
This field is required.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 period for which metric values are returned.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The start of the time period for which metric values are returned.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The end of the time period for which metric values are returned.
This field is required.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 period for which metric values are returned.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The end of the time period for which metric values are returned.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return at one time.
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 at one time.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return at one time.
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.
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.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of results.
sourcepub fn build(self) -> Result<ListMetricValuesInput, BuildError>
pub fn build(self) -> Result<ListMetricValuesInput, BuildError>
Consumes the builder and constructs a ListMetricValuesInput.
source§impl ListMetricValuesInputBuilder
impl ListMetricValuesInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ListMetricValuesOutput, SdkError<ListMetricValuesError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ListMetricValuesOutput, SdkError<ListMetricValuesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListMetricValuesInputBuilder
impl Clone for ListMetricValuesInputBuilder
source§fn clone(&self) -> ListMetricValuesInputBuilder
fn clone(&self) -> ListMetricValuesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListMetricValuesInputBuilder
impl Debug for ListMetricValuesInputBuilder
source§impl Default for ListMetricValuesInputBuilder
impl Default for ListMetricValuesInputBuilder
source§fn default() -> ListMetricValuesInputBuilder
fn default() -> ListMetricValuesInputBuilder
source§impl PartialEq for ListMetricValuesInputBuilder
impl PartialEq for ListMetricValuesInputBuilder
source§fn eq(&self, other: &ListMetricValuesInputBuilder) -> bool
fn eq(&self, other: &ListMetricValuesInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListMetricValuesInputBuilder
Auto Trait Implementations§
impl Freeze for ListMetricValuesInputBuilder
impl RefUnwindSafe for ListMetricValuesInputBuilder
impl Send for ListMetricValuesInputBuilder
impl Sync for ListMetricValuesInputBuilder
impl Unpin for ListMetricValuesInputBuilder
impl UnwindSafe for ListMetricValuesInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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