Struct aws_sdk_codebuild::operation::list_fleets::ListFleetsInput
source · #[non_exhaustive]pub struct ListFleetsInput {
pub next_token: Option<String>,
pub max_results: Option<i32>,
pub sort_order: Option<SortOrderType>,
pub sort_by: Option<FleetSortByType>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.next_token: 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.
max_results: Option<i32>
The maximum number of paginated compute fleets returned per response. Use nextToken
to iterate pages in the list of returned compute fleets.
sort_order: Option<SortOrderType>
The order in which to list compute fleets. Valid values include:
-
ASCENDING
: List in ascending order. -
DESCENDING
: List in descending order.
Use sortBy
to specify the criterion to be used to list compute fleet names.
sort_by: Option<FleetSortByType>
The criterion to be used to list compute fleet names. Valid values include:
-
CREATED_TIME
: List based on when each compute fleet was created. -
LAST_MODIFIED_TIME
: List based on when information about each compute fleet was last changed. -
NAME
: List based on each compute fleet's name.
Use sortOrder
to specify in what order to list the compute fleet names based on the preceding criteria.
Implementations§
source§impl ListFleetsInput
impl ListFleetsInput
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
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 max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of paginated compute fleets returned per response. Use nextToken
to iterate pages in the list of returned compute fleets.
sourcepub fn sort_order(&self) -> Option<&SortOrderType>
pub fn sort_order(&self) -> Option<&SortOrderType>
The order in which to list compute fleets. Valid values include:
-
ASCENDING
: List in ascending order. -
DESCENDING
: List in descending order.
Use sortBy
to specify the criterion to be used to list compute fleet names.
sourcepub fn sort_by(&self) -> Option<&FleetSortByType>
pub fn sort_by(&self) -> Option<&FleetSortByType>
The criterion to be used to list compute fleet names. Valid values include:
-
CREATED_TIME
: List based on when each compute fleet was created. -
LAST_MODIFIED_TIME
: List based on when information about each compute fleet was last changed. -
NAME
: List based on each compute fleet's name.
Use sortOrder
to specify in what order to list the compute fleet names based on the preceding criteria.
source§impl ListFleetsInput
impl ListFleetsInput
sourcepub fn builder() -> ListFleetsInputBuilder
pub fn builder() -> ListFleetsInputBuilder
Creates a new builder-style object to manufacture ListFleetsInput
.
Trait Implementations§
source§impl Clone for ListFleetsInput
impl Clone for ListFleetsInput
source§fn clone(&self) -> ListFleetsInput
fn clone(&self) -> ListFleetsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListFleetsInput
impl Debug for ListFleetsInput
source§impl PartialEq for ListFleetsInput
impl PartialEq for ListFleetsInput
source§fn eq(&self, other: &ListFleetsInput) -> bool
fn eq(&self, other: &ListFleetsInput) -> bool
self
and other
values to be equal, and is used
by ==
.