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 ==
.impl StructuralPartialEq for ListBuildBatchesInputBuilder
Auto Trait Implementations§
impl Freeze for ListBuildBatchesInputBuilder
impl RefUnwindSafe for ListBuildBatchesInputBuilder
impl Send for ListBuildBatchesInputBuilder
impl Sync for ListBuildBatchesInputBuilder
impl Unpin for ListBuildBatchesInputBuilder
impl UnwindSafe for ListBuildBatchesInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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