pub struct ListProjectsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListProjects
.
Gets a list of build project names, with each build project name representing a single build project.
Implementations§
source§impl ListProjectsFluentBuilder
impl ListProjectsFluentBuilder
sourcepub fn as_input(&self) -> &ListProjectsInputBuilder
pub fn as_input(&self) -> &ListProjectsInputBuilder
Access the ListProjects as a reference.
sourcepub async fn send(
self
) -> Result<ListProjectsOutput, SdkError<ListProjectsError, HttpResponse>>
pub async fn send( self ) -> Result<ListProjectsOutput, SdkError<ListProjectsError, 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<ListProjectsOutput, ListProjectsError, Self>
pub fn customize( self ) -> CustomizableOperation<ListProjectsOutput, ListProjectsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListProjectsPaginator
pub fn into_paginator(self) -> ListProjectsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
sourcepub fn sort_by(self, input: ProjectSortByType) -> Self
pub fn sort_by(self, input: ProjectSortByType) -> Self
The criterion to be used to list build project names. Valid values include:
-
CREATED_TIME
: List based on when each build project was created. -
LAST_MODIFIED_TIME
: List based on when information about each build project was last changed. -
NAME
: List based on each build project's name.
Use sortOrder
to specify in what order to list the build project names based on the preceding criteria.
sourcepub fn set_sort_by(self, input: Option<ProjectSortByType>) -> Self
pub fn set_sort_by(self, input: Option<ProjectSortByType>) -> Self
The criterion to be used to list build project names. Valid values include:
-
CREATED_TIME
: List based on when each build project was created. -
LAST_MODIFIED_TIME
: List based on when information about each build project was last changed. -
NAME
: List based on each build project's name.
Use sortOrder
to specify in what order to list the build project names based on the preceding criteria.
sourcepub fn get_sort_by(&self) -> &Option<ProjectSortByType>
pub fn get_sort_by(&self) -> &Option<ProjectSortByType>
The criterion to be used to list build project names. Valid values include:
-
CREATED_TIME
: List based on when each build project was created. -
LAST_MODIFIED_TIME
: List based on when information about each build project was last changed. -
NAME
: List based on each build project's name.
Use sortOrder
to specify in what order to list the build project names based on the preceding criteria.
sourcepub fn sort_order(self, input: SortOrderType) -> Self
pub fn sort_order(self, input: SortOrderType) -> Self
The order in which to list build projects. Valid values include:
-
ASCENDING
: List in ascending order. -
DESCENDING
: List in descending order.
Use sortBy
to specify the criterion to be used to list build project names.
sourcepub fn set_sort_order(self, input: Option<SortOrderType>) -> Self
pub fn set_sort_order(self, input: Option<SortOrderType>) -> Self
The order in which to list build projects. Valid values include:
-
ASCENDING
: List in ascending order. -
DESCENDING
: List in descending order.
Use sortBy
to specify the criterion to be used to list build project names.
sourcepub fn get_sort_order(&self) -> &Option<SortOrderType>
pub fn get_sort_order(&self) -> &Option<SortOrderType>
The order in which to list build projects. Valid values include:
-
ASCENDING
: List in ascending order. -
DESCENDING
: List in descending order.
Use sortBy
to specify the criterion to be used to list build project names.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
Trait Implementations§
source§impl Clone for ListProjectsFluentBuilder
impl Clone for ListProjectsFluentBuilder
source§fn clone(&self) -> ListProjectsFluentBuilder
fn clone(&self) -> ListProjectsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more