#[non_exhaustive]pub struct ListContextsInput {
pub source_uri: Option<String>,
pub context_type: Option<String>,
pub created_after: Option<DateTime>,
pub created_before: Option<DateTime>,
pub sort_by: Option<SortContextsBy>,
pub sort_order: Option<SortOrder>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
}
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.source_uri: Option<String>
A filter that returns only contexts with the specified source URI.
context_type: Option<String>
A filter that returns only contexts of the specified type.
created_after: Option<DateTime>
A filter that returns only contexts created on or after the specified time.
created_before: Option<DateTime>
A filter that returns only contexts created on or before the specified time.
sort_by: Option<SortContextsBy>
The property used to sort results. The default value is CreationTime
.
sort_order: Option<SortOrder>
The sort order. The default value is Descending
.
next_token: Option<String>
If the previous call to ListContexts
didn't return the full set of contexts, the call returns a token for getting the next set of contexts.
max_results: Option<i32>
The maximum number of contexts to return in the response. The default value is 10.
Implementations§
source§impl ListContextsInput
impl ListContextsInput
sourcepub fn source_uri(&self) -> Option<&str>
pub fn source_uri(&self) -> Option<&str>
A filter that returns only contexts with the specified source URI.
sourcepub fn context_type(&self) -> Option<&str>
pub fn context_type(&self) -> Option<&str>
A filter that returns only contexts of the specified type.
sourcepub fn created_after(&self) -> Option<&DateTime>
pub fn created_after(&self) -> Option<&DateTime>
A filter that returns only contexts created on or after the specified time.
sourcepub fn created_before(&self) -> Option<&DateTime>
pub fn created_before(&self) -> Option<&DateTime>
A filter that returns only contexts created on or before the specified time.
sourcepub fn sort_by(&self) -> Option<&SortContextsBy>
pub fn sort_by(&self) -> Option<&SortContextsBy>
The property used to sort results. The default value is CreationTime
.
sourcepub fn sort_order(&self) -> Option<&SortOrder>
pub fn sort_order(&self) -> Option<&SortOrder>
The sort order. The default value is Descending
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If the previous call to ListContexts
didn't return the full set of contexts, the call returns a token for getting the next set of contexts.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of contexts to return in the response. The default value is 10.
source§impl ListContextsInput
impl ListContextsInput
sourcepub fn builder() -> ListContextsInputBuilder
pub fn builder() -> ListContextsInputBuilder
Creates a new builder-style object to manufacture ListContextsInput
.
Trait Implementations§
source§impl Clone for ListContextsInput
impl Clone for ListContextsInput
source§fn clone(&self) -> ListContextsInput
fn clone(&self) -> ListContextsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListContextsInput
impl Debug for ListContextsInput
source§impl PartialEq<ListContextsInput> for ListContextsInput
impl PartialEq<ListContextsInput> for ListContextsInput
source§fn eq(&self, other: &ListContextsInput) -> bool
fn eq(&self, other: &ListContextsInput) -> bool
self
and other
values to be equal, and is used
by ==
.