Struct aws_sdk_applicationdiscovery::operation::list_server_neighbors::ListServerNeighborsInput
source · #[non_exhaustive]pub struct ListServerNeighborsInput {
pub configuration_id: Option<String>,
pub port_information_needed: Option<bool>,
pub neighbor_configuration_ids: Option<Vec<String>>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
}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.configuration_id: Option<String>Configuration ID of the server for which neighbors are being listed.
port_information_needed: Option<bool>Flag to indicate if port and protocol information is needed as part of the response.
neighbor_configuration_ids: Option<Vec<String>>List of configuration IDs to test for one-hop-away.
max_results: Option<i32>Maximum number of results to return in a single page of output.
next_token: Option<String>Token to retrieve the next set of results. For example, if you previously specified 100 IDs for ListServerNeighborsRequest$neighborConfigurationIds but set ListServerNeighborsRequest$maxResults to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10.
Implementations§
source§impl ListServerNeighborsInput
impl ListServerNeighborsInput
sourcepub fn configuration_id(&self) -> Option<&str>
pub fn configuration_id(&self) -> Option<&str>
Configuration ID of the server for which neighbors are being listed.
sourcepub fn port_information_needed(&self) -> Option<bool>
pub fn port_information_needed(&self) -> Option<bool>
Flag to indicate if port and protocol information is needed as part of the response.
sourcepub fn neighbor_configuration_ids(&self) -> &[String]
pub fn neighbor_configuration_ids(&self) -> &[String]
List of configuration IDs to test for one-hop-away.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .neighbor_configuration_ids.is_none().
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
Maximum number of results to return in a single page of output.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
Token to retrieve the next set of results. For example, if you previously specified 100 IDs for ListServerNeighborsRequest$neighborConfigurationIds but set ListServerNeighborsRequest$maxResults to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10.
source§impl ListServerNeighborsInput
impl ListServerNeighborsInput
sourcepub fn builder() -> ListServerNeighborsInputBuilder
pub fn builder() -> ListServerNeighborsInputBuilder
Creates a new builder-style object to manufacture ListServerNeighborsInput.
Trait Implementations§
source§impl Clone for ListServerNeighborsInput
impl Clone for ListServerNeighborsInput
source§fn clone(&self) -> ListServerNeighborsInput
fn clone(&self) -> ListServerNeighborsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListServerNeighborsInput
impl Debug for ListServerNeighborsInput
source§impl PartialEq for ListServerNeighborsInput
impl PartialEq for ListServerNeighborsInput
source§fn eq(&self, other: &ListServerNeighborsInput) -> bool
fn eq(&self, other: &ListServerNeighborsInput) -> bool
self and other values to be equal, and is used
by ==.