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 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 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 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 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 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 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 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 build(self) -> Result<ListTestGridSessionsInput, BuildError>
pub fn build(self) -> Result<ListTestGridSessionsInput, BuildError>
Consumes the builder and constructs a ListTestGridSessionsInput.
Trait Implementations§
source§impl Clone for ListTestGridSessionsInputBuilder
impl Clone for ListTestGridSessionsInputBuilder
source§fn clone(&self) -> ListTestGridSessionsInputBuilder
fn clone(&self) -> ListTestGridSessionsInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for ListTestGridSessionsInputBuilder
impl Default for ListTestGridSessionsInputBuilder
source§fn default() -> ListTestGridSessionsInputBuilder
fn default() -> ListTestGridSessionsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ListTestGridSessionsInputBuilder> for ListTestGridSessionsInputBuilder
impl PartialEq<ListTestGridSessionsInputBuilder> for ListTestGridSessionsInputBuilder
source§fn eq(&self, other: &ListTestGridSessionsInputBuilder) -> bool
fn eq(&self, other: &ListTestGridSessionsInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.