Struct aws_sdk_applicationdiscovery::operation::list_server_neighbors::builders::ListServerNeighborsInputBuilder
source · #[non_exhaustive]pub struct ListServerNeighborsInputBuilder { /* private fields */ }
Expand description
A builder for ListServerNeighborsInput
.
Implementations§
source§impl ListServerNeighborsInputBuilder
impl ListServerNeighborsInputBuilder
sourcepub fn configuration_id(self, input: impl Into<String>) -> Self
pub fn configuration_id(self, input: impl Into<String>) -> Self
Configuration ID of the server for which neighbors are being listed.
This field is required.sourcepub fn set_configuration_id(self, input: Option<String>) -> Self
pub fn set_configuration_id(self, input: Option<String>) -> Self
Configuration ID of the server for which neighbors are being listed.
sourcepub fn get_configuration_id(&self) -> &Option<String>
pub fn get_configuration_id(&self) -> &Option<String>
Configuration ID of the server for which neighbors are being listed.
sourcepub fn port_information_needed(self, input: bool) -> Self
pub fn port_information_needed(self, input: bool) -> Self
Flag to indicate if port and protocol information is needed as part of the response.
sourcepub fn set_port_information_needed(self, input: Option<bool>) -> Self
pub fn set_port_information_needed(self, input: Option<bool>) -> Self
Flag to indicate if port and protocol information is needed as part of the response.
sourcepub fn get_port_information_needed(&self) -> &Option<bool>
pub fn get_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, input: impl Into<String>) -> Self
pub fn neighbor_configuration_ids(self, input: impl Into<String>) -> Self
Appends an item to neighbor_configuration_ids
.
To override the contents of this collection use set_neighbor_configuration_ids
.
List of configuration IDs to test for one-hop-away.
sourcepub fn set_neighbor_configuration_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_neighbor_configuration_ids(self, input: Option<Vec<String>>) -> Self
List of configuration IDs to test for one-hop-away.
sourcepub fn get_neighbor_configuration_ids(&self) -> &Option<Vec<String>>
pub fn get_neighbor_configuration_ids(&self) -> &Option<Vec<String>>
List of configuration IDs to test for one-hop-away.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
Maximum number of results to return in a single page of output.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
Maximum number of results to return in a single page of output.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
Maximum number of results to return in a single page of output.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
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.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &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.
sourcepub fn build(self) -> Result<ListServerNeighborsInput, BuildError>
pub fn build(self) -> Result<ListServerNeighborsInput, BuildError>
Consumes the builder and constructs a ListServerNeighborsInput
.
source§impl ListServerNeighborsInputBuilder
impl ListServerNeighborsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListServerNeighborsOutput, SdkError<ListServerNeighborsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListServerNeighborsOutput, SdkError<ListServerNeighborsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListServerNeighborsInputBuilder
impl Clone for ListServerNeighborsInputBuilder
source§fn clone(&self) -> ListServerNeighborsInputBuilder
fn clone(&self) -> ListServerNeighborsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListServerNeighborsInputBuilder
impl Default for ListServerNeighborsInputBuilder
source§fn default() -> ListServerNeighborsInputBuilder
fn default() -> ListServerNeighborsInputBuilder
source§impl PartialEq for ListServerNeighborsInputBuilder
impl PartialEq for ListServerNeighborsInputBuilder
source§fn eq(&self, other: &ListServerNeighborsInputBuilder) -> bool
fn eq(&self, other: &ListServerNeighborsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.