Struct aws_sdk_devicefarm::operation::list_test_grid_sessions::builders::ListTestGridSessionsInputBuilder
source · #[non_exhaustive]pub struct ListTestGridSessionsInputBuilder { /* private fields */ }Expand description
A builder for ListTestGridSessionsInput.
Implementations§
source§impl ListTestGridSessionsInputBuilder
impl ListTestGridSessionsInputBuilder
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.
sourcepub fn build(self) -> Result<ListTestGridSessionsInput, BuildError>
pub fn build(self) -> Result<ListTestGridSessionsInput, BuildError>
Consumes the builder and constructs a ListTestGridSessionsInput.
source§impl ListTestGridSessionsInputBuilder
impl ListTestGridSessionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListTestGridSessionsOutput, SdkError<ListTestGridSessionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListTestGridSessionsOutput, SdkError<ListTestGridSessionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListTestGridSessionsInputBuilder
impl Clone for ListTestGridSessionsInputBuilder
source§fn clone(&self) -> ListTestGridSessionsInputBuilder
fn clone(&self) -> ListTestGridSessionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListTestGridSessionsInputBuilder
impl Default for ListTestGridSessionsInputBuilder
source§fn default() -> ListTestGridSessionsInputBuilder
fn default() -> ListTestGridSessionsInputBuilder
source§impl PartialEq for ListTestGridSessionsInputBuilder
impl PartialEq for ListTestGridSessionsInputBuilder
source§fn eq(&self, other: &ListTestGridSessionsInputBuilder) -> bool
fn eq(&self, other: &ListTestGridSessionsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.