Struct aws_sdk_codecatalyst::operation::list_workflows::builders::ListWorkflowsFluentBuilder
source · pub struct ListWorkflowsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListWorkflows
.
Retrieves a list of workflows in a specified project.
Implementations§
source§impl ListWorkflowsFluentBuilder
impl ListWorkflowsFluentBuilder
sourcepub fn as_input(&self) -> &ListWorkflowsInputBuilder
pub fn as_input(&self) -> &ListWorkflowsInputBuilder
Access the ListWorkflows as a reference.
sourcepub async fn send(
self
) -> Result<ListWorkflowsOutput, SdkError<ListWorkflowsError, HttpResponse>>
pub async fn send( self ) -> Result<ListWorkflowsOutput, SdkError<ListWorkflowsError, 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<ListWorkflowsOutput, ListWorkflowsError, Self>
pub fn customize( self ) -> CustomizableOperation<ListWorkflowsOutput, ListWorkflowsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListWorkflowsPaginator
pub fn into_paginator(self) -> ListWorkflowsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn space_name(self, input: impl Into<String>) -> Self
pub fn space_name(self, input: impl Into<String>) -> Self
The name of the space.
sourcepub fn set_space_name(self, input: Option<String>) -> Self
pub fn set_space_name(self, input: Option<String>) -> Self
The name of the space.
sourcepub fn get_space_name(&self) -> &Option<String>
pub fn get_space_name(&self) -> &Option<String>
The name of the space.
sourcepub fn project_name(self, input: impl Into<String>) -> Self
pub fn project_name(self, input: impl Into<String>) -> Self
The name of the project in the space.
sourcepub fn set_project_name(self, input: Option<String>) -> Self
pub fn set_project_name(self, input: Option<String>) -> Self
The name of the project in the space.
sourcepub fn get_project_name(&self) -> &Option<String>
pub fn get_project_name(&self) -> &Option<String>
The name of the project in the space.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token returned from a call to this API to indicate the next batch of results to return, if any.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token returned from a call to this API to indicate the next batch of results to return, if any.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token returned from a call to this API to indicate the next batch of results to return, if any.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a NextToken
element, which you can use to obtain additional results.
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 show in a single call to this API. If the number of results is larger than the number you specified, the response will include a NextToken
element, which you can use to obtain additional results.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a NextToken
element, which you can use to obtain additional results.
sourcepub fn sort_by(self, input: WorkflowSortCriteria) -> Self
pub fn sort_by(self, input: WorkflowSortCriteria) -> Self
Appends an item to sortBy
.
To override the contents of this collection use set_sort_by
.
Information used to sort the items in the returned list.
sourcepub fn set_sort_by(self, input: Option<Vec<WorkflowSortCriteria>>) -> Self
pub fn set_sort_by(self, input: Option<Vec<WorkflowSortCriteria>>) -> Self
Information used to sort the items in the returned list.
sourcepub fn get_sort_by(&self) -> &Option<Vec<WorkflowSortCriteria>>
pub fn get_sort_by(&self) -> &Option<Vec<WorkflowSortCriteria>>
Information used to sort the items in the returned list.
Trait Implementations§
source§impl Clone for ListWorkflowsFluentBuilder
impl Clone for ListWorkflowsFluentBuilder
source§fn clone(&self) -> ListWorkflowsFluentBuilder
fn clone(&self) -> ListWorkflowsFluentBuilder
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 ListWorkflowsFluentBuilder
impl !RefUnwindSafe for ListWorkflowsFluentBuilder
impl Send for ListWorkflowsFluentBuilder
impl Sync for ListWorkflowsFluentBuilder
impl Unpin for ListWorkflowsFluentBuilder
impl !UnwindSafe for ListWorkflowsFluentBuilder
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