Struct aws_sdk_codebuild::operation::list_build_batches::builders::ListBuildBatchesFluentBuilder
source · pub struct ListBuildBatchesFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListBuildBatches
.
Retrieves the identifiers of your build batches in the current region.
Implementations§
source§impl ListBuildBatchesFluentBuilder
impl ListBuildBatchesFluentBuilder
sourcepub fn as_input(&self) -> &ListBuildBatchesInputBuilder
pub fn as_input(&self) -> &ListBuildBatchesInputBuilder
Access the ListBuildBatches as a reference.
sourcepub async fn send(
self
) -> Result<ListBuildBatchesOutput, SdkError<ListBuildBatchesError, HttpResponse>>
pub async fn send( self ) -> Result<ListBuildBatchesOutput, SdkError<ListBuildBatchesError, 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<ListBuildBatchesOutput, ListBuildBatchesError, Self>
pub fn customize( self ) -> CustomizableOperation<ListBuildBatchesOutput, ListBuildBatchesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListBuildBatchesPaginator
pub fn into_paginator(self) -> ListBuildBatchesPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
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.
Trait Implementations§
source§impl Clone for ListBuildBatchesFluentBuilder
impl Clone for ListBuildBatchesFluentBuilder
source§fn clone(&self) -> ListBuildBatchesFluentBuilder
fn clone(&self) -> ListBuildBatchesFluentBuilder
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 ListBuildBatchesFluentBuilder
impl !RefUnwindSafe for ListBuildBatchesFluentBuilder
impl Send for ListBuildBatchesFluentBuilder
impl Sync for ListBuildBatchesFluentBuilder
impl Unpin for ListBuildBatchesFluentBuilder
impl !UnwindSafe for ListBuildBatchesFluentBuilder
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> 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