Struct aws_sdk_lexmodelsv2::operation::list_test_executions::builders::ListTestExecutionsInputBuilder
source · #[non_exhaustive]pub struct ListTestExecutionsInputBuilder { /* private fields */ }Expand description
A builder for ListTestExecutionsInput.
Implementations§
source§impl ListTestExecutionsInputBuilder
impl ListTestExecutionsInputBuilder
sourcepub fn sort_by(self, input: TestExecutionSortBy) -> Self
pub fn sort_by(self, input: TestExecutionSortBy) -> Self
The sort order of the test set executions.
sourcepub fn set_sort_by(self, input: Option<TestExecutionSortBy>) -> Self
pub fn set_sort_by(self, input: Option<TestExecutionSortBy>) -> Self
The sort order of the test set executions.
sourcepub fn get_sort_by(&self) -> &Option<TestExecutionSortBy>
pub fn get_sort_by(&self) -> &Option<TestExecutionSortBy>
The sort order of the test set executions.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of test executions to return in each page. If there are fewer results than the max page size, only the actual number of results are returned.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of test executions to return in each page. If there are fewer results than the max page size, only the actual number of results are returned.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of test executions to return in each page. If there are fewer results than the max page size, only the actual number of results are returned.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the response from the ListTestExecutions operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the response from the ListTestExecutions operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the response from the ListTestExecutions operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.
sourcepub fn build(self) -> Result<ListTestExecutionsInput, BuildError>
pub fn build(self) -> Result<ListTestExecutionsInput, BuildError>
Consumes the builder and constructs a ListTestExecutionsInput.
source§impl ListTestExecutionsInputBuilder
impl ListTestExecutionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListTestExecutionsOutput, SdkError<ListTestExecutionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListTestExecutionsOutput, SdkError<ListTestExecutionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListTestExecutionsInputBuilder
impl Clone for ListTestExecutionsInputBuilder
source§fn clone(&self) -> ListTestExecutionsInputBuilder
fn clone(&self) -> ListTestExecutionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListTestExecutionsInputBuilder
impl Default for ListTestExecutionsInputBuilder
source§fn default() -> ListTestExecutionsInputBuilder
fn default() -> ListTestExecutionsInputBuilder
source§impl PartialEq for ListTestExecutionsInputBuilder
impl PartialEq for ListTestExecutionsInputBuilder
source§fn eq(&self, other: &ListTestExecutionsInputBuilder) -> bool
fn eq(&self, other: &ListTestExecutionsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.