Struct aws_sdk_devicefarm::operation::list_test_grid_sessions::builders::ListTestGridSessionsFluentBuilder
source · pub struct ListTestGridSessionsFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to ListTestGridSessions.
Retrieves a list of sessions for a TestGridProject.
Implementations§
source§impl ListTestGridSessionsFluentBuilder
impl ListTestGridSessionsFluentBuilder
sourcepub fn as_input(&self) -> &ListTestGridSessionsInputBuilder
pub fn as_input(&self) -> &ListTestGridSessionsInputBuilder
Access the ListTestGridSessions as a reference.
sourcepub async fn send(
self,
) -> Result<ListTestGridSessionsOutput, SdkError<ListTestGridSessionsError, HttpResponse>>
pub async fn send( self, ) -> Result<ListTestGridSessionsOutput, SdkError<ListTestGridSessionsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<ListTestGridSessionsOutput, ListTestGridSessionsError, Self>
pub fn customize( self, ) -> CustomizableOperation<ListTestGridSessionsOutput, ListTestGridSessionsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListTestGridSessionsPaginator
pub fn into_paginator(self) -> ListTestGridSessionsPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a PaginationStream.
sourcepub fn project_arn(self, input: impl Into<String>) -> Self
pub fn project_arn(self, input: impl Into<String>) -> Self
ARN of a TestGridProject.
sourcepub fn set_project_arn(self, input: Option<String>) -> Self
pub fn set_project_arn(self, input: Option<String>) -> Self
ARN of a TestGridProject.
sourcepub fn get_project_arn(&self) -> &Option<String>
pub fn get_project_arn(&self) -> &Option<String>
ARN of a TestGridProject.
sourcepub fn status(self, input: TestGridSessionStatus) -> Self
pub fn status(self, input: TestGridSessionStatus) -> Self
Return only sessions in this state.
sourcepub fn set_status(self, input: Option<TestGridSessionStatus>) -> Self
pub fn set_status(self, input: Option<TestGridSessionStatus>) -> Self
Return only sessions in this state.
sourcepub fn get_status(&self) -> &Option<TestGridSessionStatus>
pub fn get_status(&self) -> &Option<TestGridSessionStatus>
Return only sessions in this state.
sourcepub fn creation_time_after(self, input: DateTime) -> Self
pub fn creation_time_after(self, input: DateTime) -> Self
Return only sessions created after this time.
sourcepub fn set_creation_time_after(self, input: Option<DateTime>) -> Self
pub fn set_creation_time_after(self, input: Option<DateTime>) -> Self
Return only sessions created after this time.
sourcepub fn get_creation_time_after(&self) -> &Option<DateTime>
pub fn get_creation_time_after(&self) -> &Option<DateTime>
Return only sessions created after this time.
sourcepub fn creation_time_before(self, input: DateTime) -> Self
pub fn creation_time_before(self, input: DateTime) -> Self
Return only sessions created before this time.
sourcepub fn set_creation_time_before(self, input: Option<DateTime>) -> Self
pub fn set_creation_time_before(self, input: Option<DateTime>) -> Self
Return only sessions created before this time.
sourcepub fn get_creation_time_before(&self) -> &Option<DateTime>
pub fn get_creation_time_before(&self) -> &Option<DateTime>
Return only sessions created before this time.
sourcepub fn end_time_after(self, input: DateTime) -> Self
pub fn end_time_after(self, input: DateTime) -> Self
Return only sessions that ended after this time.
sourcepub fn set_end_time_after(self, input: Option<DateTime>) -> Self
pub fn set_end_time_after(self, input: Option<DateTime>) -> Self
Return only sessions that ended after this time.
sourcepub fn get_end_time_after(&self) -> &Option<DateTime>
pub fn get_end_time_after(&self) -> &Option<DateTime>
Return only sessions that ended after this time.
sourcepub fn end_time_before(self, input: DateTime) -> Self
pub fn end_time_before(self, input: DateTime) -> Self
Return only sessions that ended before this time.
sourcepub fn set_end_time_before(self, input: Option<DateTime>) -> Self
pub fn set_end_time_before(self, input: Option<DateTime>) -> Self
Return only sessions that ended before this time.
sourcepub fn get_end_time_before(&self) -> &Option<DateTime>
pub fn get_end_time_before(&self) -> &Option<DateTime>
Return only sessions that ended before this time.
sourcepub fn max_result(self, input: i32) -> Self
pub fn max_result(self, input: i32) -> Self
Return only this many results at a time.
sourcepub fn set_max_result(self, input: Option<i32>) -> Self
pub fn set_max_result(self, input: Option<i32>) -> Self
Return only this many results at a time.
sourcepub fn get_max_result(&self) -> &Option<i32>
pub fn get_max_result(&self) -> &Option<i32>
Return only this many results at a time.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Pagination token.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Pagination token.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Pagination token.
Trait Implementations§
source§impl Clone for ListTestGridSessionsFluentBuilder
impl Clone for ListTestGridSessionsFluentBuilder
source§fn clone(&self) -> ListTestGridSessionsFluentBuilder
fn clone(&self) -> ListTestGridSessionsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for ListTestGridSessionsFluentBuilder
impl !RefUnwindSafe for ListTestGridSessionsFluentBuilder
impl Send for ListTestGridSessionsFluentBuilder
impl Sync for ListTestGridSessionsFluentBuilder
impl Unpin for ListTestGridSessionsFluentBuilder
impl !UnwindSafe for ListTestGridSessionsFluentBuilder
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