#[non_exhaustive]pub struct ListContextsInputBuilder { /* private fields */ }
Expand description
A builder for ListContextsInput
.
Implementations§
source§impl ListContextsInputBuilder
impl ListContextsInputBuilder
sourcepub fn source_uri(self, input: impl Into<String>) -> Self
pub fn source_uri(self, input: impl Into<String>) -> Self
A filter that returns only contexts with the specified source URI.
sourcepub fn set_source_uri(self, input: Option<String>) -> Self
pub fn set_source_uri(self, input: Option<String>) -> Self
A filter that returns only contexts with the specified source URI.
sourcepub fn get_source_uri(&self) -> &Option<String>
pub fn get_source_uri(&self) -> &Option<String>
A filter that returns only contexts with the specified source URI.
sourcepub fn context_type(self, input: impl Into<String>) -> Self
pub fn context_type(self, input: impl Into<String>) -> Self
A filter that returns only contexts of the specified type.
sourcepub fn set_context_type(self, input: Option<String>) -> Self
pub fn set_context_type(self, input: Option<String>) -> Self
A filter that returns only contexts of the specified type.
sourcepub fn get_context_type(&self) -> &Option<String>
pub fn get_context_type(&self) -> &Option<String>
A filter that returns only contexts of the specified type.
sourcepub fn created_after(self, input: DateTime) -> Self
pub fn created_after(self, input: DateTime) -> Self
A filter that returns only contexts created on or after the specified time.
sourcepub fn set_created_after(self, input: Option<DateTime>) -> Self
pub fn set_created_after(self, input: Option<DateTime>) -> Self
A filter that returns only contexts created on or after the specified time.
sourcepub fn get_created_after(&self) -> &Option<DateTime>
pub fn get_created_after(&self) -> &Option<DateTime>
A filter that returns only contexts created on or after the specified time.
sourcepub fn created_before(self, input: DateTime) -> Self
pub fn created_before(self, input: DateTime) -> Self
A filter that returns only contexts created on or before the specified time.
sourcepub fn set_created_before(self, input: Option<DateTime>) -> Self
pub fn set_created_before(self, input: Option<DateTime>) -> Self
A filter that returns only contexts created on or before the specified time.
sourcepub fn get_created_before(&self) -> &Option<DateTime>
pub fn get_created_before(&self) -> &Option<DateTime>
A filter that returns only contexts created on or before the specified time.
sourcepub fn sort_by(self, input: SortContextsBy) -> Self
pub fn sort_by(self, input: SortContextsBy) -> Self
The property used to sort results. The default value is CreationTime
.
sourcepub fn set_sort_by(self, input: Option<SortContextsBy>) -> Self
pub fn set_sort_by(self, input: Option<SortContextsBy>) -> Self
The property used to sort results. The default value is CreationTime
.
sourcepub fn get_sort_by(&self) -> &Option<SortContextsBy>
pub fn get_sort_by(&self) -> &Option<SortContextsBy>
The property used to sort results. The default value is CreationTime
.
sourcepub fn sort_order(self, input: SortOrder) -> Self
pub fn sort_order(self, input: SortOrder) -> Self
The sort order. The default value is Descending
.
sourcepub fn set_sort_order(self, input: Option<SortOrder>) -> Self
pub fn set_sort_order(self, input: Option<SortOrder>) -> Self
The sort order. The default value is Descending
.
sourcepub fn get_sort_order(&self) -> &Option<SortOrder>
pub fn get_sort_order(&self) -> &Option<SortOrder>
The sort order. The default value is Descending
.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
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 set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
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 get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &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.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of contexts to return in the response. The default value is 10.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of contexts to return in the response. The default value is 10.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of contexts to return in the response. The default value is 10.
sourcepub fn build(self) -> Result<ListContextsInput, BuildError>
pub fn build(self) -> Result<ListContextsInput, BuildError>
Consumes the builder and constructs a ListContextsInput
.
source§impl ListContextsInputBuilder
impl ListContextsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ListContextsOutput, SdkError<ListContextsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ListContextsOutput, SdkError<ListContextsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListContextsInputBuilder
impl Clone for ListContextsInputBuilder
source§fn clone(&self) -> ListContextsInputBuilder
fn clone(&self) -> ListContextsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListContextsInputBuilder
impl Debug for ListContextsInputBuilder
source§impl Default for ListContextsInputBuilder
impl Default for ListContextsInputBuilder
source§fn default() -> ListContextsInputBuilder
fn default() -> ListContextsInputBuilder
source§impl PartialEq for ListContextsInputBuilder
impl PartialEq for ListContextsInputBuilder
impl StructuralPartialEq for ListContextsInputBuilder
Auto Trait Implementations§
impl Freeze for ListContextsInputBuilder
impl RefUnwindSafe for ListContextsInputBuilder
impl Send for ListContextsInputBuilder
impl Sync for ListContextsInputBuilder
impl Unpin for ListContextsInputBuilder
impl UnwindSafe for ListContextsInputBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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