Struct aws_sdk_codebuild::operation::list_build_batches::builders::ListBuildBatchesInputBuilder
source · #[non_exhaustive]pub struct ListBuildBatchesInputBuilder { /* private fields */ }
Expand description
A builder for ListBuildBatchesInput
.
Implementations§
source§impl ListBuildBatchesInputBuilder
impl ListBuildBatchesInputBuilder
sourcepub fn filter(self, input: BuildBatchFilter) -> Self
pub fn filter(self, input: BuildBatchFilter) -> Self
A BuildBatchFilter
object that specifies the filters for the search.
sourcepub fn set_filter(self, input: Option<BuildBatchFilter>) -> Self
pub fn set_filter(self, input: Option<BuildBatchFilter>) -> Self
A BuildBatchFilter
object that specifies the filters for the search.
sourcepub fn get_filter(&self) -> &Option<BuildBatchFilter>
pub fn get_filter(&self) -> &Option<BuildBatchFilter>
A BuildBatchFilter
object that specifies the filters for the search.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return.
sourcepub fn sort_order(self, input: SortOrderType) -> Self
pub fn sort_order(self, input: SortOrderType) -> Self
Specifies the sort order of the returned items. Valid values include:
-
ASCENDING
: List the batch build identifiers in ascending order by identifier. -
DESCENDING
: List the batch build identifiers in descending order by identifier.
sourcepub fn set_sort_order(self, input: Option<SortOrderType>) -> Self
pub fn set_sort_order(self, input: Option<SortOrderType>) -> Self
Specifies the sort order of the returned items. Valid values include:
-
ASCENDING
: List the batch build identifiers in ascending order by identifier. -
DESCENDING
: List the batch build identifiers in descending order by identifier.
sourcepub fn get_sort_order(&self) -> &Option<SortOrderType>
pub fn get_sort_order(&self) -> &Option<SortOrderType>
Specifies the sort order of the returned items. Valid values include:
-
ASCENDING
: List the batch build identifiers in ascending order by identifier. -
DESCENDING
: List the batch build identifiers in descending order by identifier.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The nextToken
value returned from a previous call to ListBuildBatches
. This specifies the next item to return. To return the beginning of the list, exclude this parameter.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The nextToken
value returned from a previous call to ListBuildBatches
. This specifies the next item to return. To return the beginning of the list, exclude this parameter.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The nextToken
value returned from a previous call to ListBuildBatches
. This specifies the next item to return. To return the beginning of the list, exclude this parameter.
sourcepub fn build(self) -> Result<ListBuildBatchesInput, BuildError>
pub fn build(self) -> Result<ListBuildBatchesInput, BuildError>
Consumes the builder and constructs a ListBuildBatchesInput
.
source§impl ListBuildBatchesInputBuilder
impl ListBuildBatchesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListBuildBatchesOutput, SdkError<ListBuildBatchesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListBuildBatchesOutput, SdkError<ListBuildBatchesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListBuildBatchesInputBuilder
impl Clone for ListBuildBatchesInputBuilder
source§fn clone(&self) -> ListBuildBatchesInputBuilder
fn clone(&self) -> ListBuildBatchesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListBuildBatchesInputBuilder
impl Debug for ListBuildBatchesInputBuilder
source§impl Default for ListBuildBatchesInputBuilder
impl Default for ListBuildBatchesInputBuilder
source§fn default() -> ListBuildBatchesInputBuilder
fn default() -> ListBuildBatchesInputBuilder
source§impl PartialEq for ListBuildBatchesInputBuilder
impl PartialEq for ListBuildBatchesInputBuilder
source§fn eq(&self, other: &ListBuildBatchesInputBuilder) -> bool
fn eq(&self, other: &ListBuildBatchesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.