#[non_exhaustive]pub struct ListServersInput {
pub server_criteria: Option<ServerCriteria>,
pub filter_value: Option<String>,
pub sort: Option<SortOrder>,
pub group_id_filter: Option<Vec<Group>>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
}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.server_criteria: Option<ServerCriteria>Criteria for filtering servers.
filter_value: Option<String> Specifies the filter value, which is based on the type of server criteria. For example, if serverCriteria is OS_NAME, and the filterValue is equal to WindowsServer, then ListServers returns all of the servers matching the OS name WindowsServer.
sort: Option<SortOrder> Specifies whether to sort by ascending (ASC) or descending (DESC) order.
group_id_filter: Option<Vec<Group>>Specifies the group ID to filter on.
next_token: Option<String> The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.
max_results: Option<i32>The maximum number of items to include in the response. The maximum value is 100.
Implementations§
source§impl ListServersInput
impl ListServersInput
sourcepub fn server_criteria(&self) -> Option<&ServerCriteria>
pub fn server_criteria(&self) -> Option<&ServerCriteria>
Criteria for filtering servers.
sourcepub fn filter_value(&self) -> Option<&str>
pub fn filter_value(&self) -> Option<&str>
Specifies the filter value, which is based on the type of server criteria. For example, if serverCriteria is OS_NAME, and the filterValue is equal to WindowsServer, then ListServers returns all of the servers matching the OS name WindowsServer.
sourcepub fn sort(&self) -> Option<&SortOrder>
pub fn sort(&self) -> Option<&SortOrder>
Specifies whether to sort by ascending (ASC) or descending (DESC) order.
sourcepub fn group_id_filter(&self) -> &[Group]
pub fn group_id_filter(&self) -> &[Group]
Specifies the group ID to filter on.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .group_id_filter.is_none().
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of items to include in the response. The maximum value is 100.
source§impl ListServersInput
impl ListServersInput
sourcepub fn builder() -> ListServersInputBuilder
pub fn builder() -> ListServersInputBuilder
Creates a new builder-style object to manufacture ListServersInput.
Trait Implementations§
source§impl Clone for ListServersInput
impl Clone for ListServersInput
source§fn clone(&self) -> ListServersInput
fn clone(&self) -> ListServersInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListServersInput
impl Debug for ListServersInput
source§impl PartialEq for ListServersInput
impl PartialEq for ListServersInput
source§fn eq(&self, other: &ListServersInput) -> bool
fn eq(&self, other: &ListServersInput) -> bool
self and other values to be equal, and is used
by ==.