#[non_exhaustive]pub struct ListProblemsInput {
pub account_id: Option<String>,
pub resource_group_name: Option<String>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
pub component_name: Option<String>,
pub visibility: Option<Visibility>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.account_id: Option<String>
The AWS account ID for the resource group owner.
resource_group_name: Option<String>
The name of the resource group.
start_time: Option<DateTime>
The time when the problem was detected, in epoch seconds. If you don't specify a time frame for the request, problems within the past seven days are returned.
end_time: Option<DateTime>
The time when the problem ended, in epoch seconds. If not specified, problems within the past seven days are returned.
max_results: Option<i32>
The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken
value.
next_token: Option<String>
The token to request the next page of results.
component_name: Option<String>
The name of the component.
visibility: Option<Visibility>
Specifies whether or not you can view the problem. If not specified, visible and ignored problems are returned.
Implementations§
source§impl ListProblemsInput
impl ListProblemsInput
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The AWS account ID for the resource group owner.
sourcepub fn resource_group_name(&self) -> Option<&str>
pub fn resource_group_name(&self) -> Option<&str>
The name of the resource group.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The time when the problem was detected, in epoch seconds. If you don't specify a time frame for the request, problems within the past seven days are returned.
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
The time when the problem ended, in epoch seconds. If not specified, problems within the past seven days are returned.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken
value.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token to request the next page of results.
sourcepub fn component_name(&self) -> Option<&str>
pub fn component_name(&self) -> Option<&str>
The name of the component.
sourcepub fn visibility(&self) -> Option<&Visibility>
pub fn visibility(&self) -> Option<&Visibility>
Specifies whether or not you can view the problem. If not specified, visible and ignored problems are returned.
source§impl ListProblemsInput
impl ListProblemsInput
sourcepub fn builder() -> ListProblemsInputBuilder
pub fn builder() -> ListProblemsInputBuilder
Creates a new builder-style object to manufacture ListProblemsInput
.
Trait Implementations§
source§impl Clone for ListProblemsInput
impl Clone for ListProblemsInput
source§fn clone(&self) -> ListProblemsInput
fn clone(&self) -> ListProblemsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListProblemsInput
impl Debug for ListProblemsInput
source§impl PartialEq for ListProblemsInput
impl PartialEq for ListProblemsInput
source§fn eq(&self, other: &ListProblemsInput) -> bool
fn eq(&self, other: &ListProblemsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListProblemsInput
Auto Trait Implementations§
impl Freeze for ListProblemsInput
impl RefUnwindSafe for ListProblemsInput
impl Send for ListProblemsInput
impl Sync for ListProblemsInput
impl Unpin for ListProblemsInput
impl UnwindSafe for ListProblemsInput
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